Not logged inOpenClonk Forum
Up Topic Floating-point math, redux

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Luchs
The vector would be a value type, would have a nicer way to access the two components, and at least the + and - operators would work on them. Positions are also often used in performance-critical code, so not having to allocate tons of arrays would be an improvement.

Additionally, a special vector type would provide type safety which would make the engine interface easier to use (arrays are a bit annoying in the C++ code).

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill