Not logged inOpenClonk Forum
Up Topic local vs. global coordinates

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 Sven2
It's still a concern everyone would always have to think about whenever a function uses coordinates. And to be consistent, anyone writing a helper function would have to implement both local and global coordinates, too. Because otherwise, there would be *three* possible coordinate system: Local, global and the "local or global depending on state".

It's just that: Added complexity. It's also the reason I wouldn't mind just making all coordinates global. The onlky reason I can think of that local coordinates are useful is e.g. in functions like CastObjects, where you can just leave out the coordinate parameters to create stuff at object center.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill