Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Geom cleanup - what do you use?
Re: Geom cleanup - what do you use? [message #60637 is a reply to message #60241] Mon, 17 June 2024 10:23 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1224
Registered: August 2007
Senior Contributor
Hi

As I wrote in my previous message, there is a light-weight XForm3D package I had written some time ago. You can find it attached.

1) It is a single header file.
2) It contains Point3D, Point4D, Matrix3D and Matrix4D classes (API is very similar to XForm2D).
3) These classes are aliases for templates that accept floating point types. So it allows for both single and double precision points (classes are templated)
4) It has an IsEqual() function for fuzzy comparing of matrices.


If you find it useful enough, feel free to review and/or adopt it.

P.s. There is also a simple demo app, rendering the famous 3D teapot model, using Upp::Painter with this XForm3D. I will also upload that (but first I need to clean-up its code).

Best regards,
Oblivion
  • Attachment: Xform3D.h
    (Size: 35.35KB, Downloaded 98 times)


[Updated on: Mon, 17 June 2024 11:23]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2025.1 on Flathub
Next Topic: Vertical labels now supported
Goto Forum:
  


Current Time: Fri Aug 15 21:57:50 CEST 2025

Total time taken to generate the page: 0.09244 seconds