jpaver / opengametools

A set of open c++ game development tools that are lightweight, easy-to-integrate and free to use. Currently hosting a magicavoxel .vox full scene loader.
MIT License
375 stars 36 forks source link

Added helper method to apply the transformations #20

Closed mgerhardy closed 2 years ago

mgerhardy commented 2 years ago

I had some trouble finding out the details regarding the pivot and transformation handling. See https://github.com/jpaver/opengametools/issues/19

Thus I thought it might be useful to add some small helper functions for this task.

jpaver commented 2 years ago

I have pulled the great ogt_assert part and trailing whitespace changes over to this commit https://github.com/jpaver/opengametools/commit/85373b76344a0148149d10789892c186efd3fa8b Thanks for the contribution @mgerhardy - closing!