]> git.tdb.fi Git - libs/gl.git/commit
Have Object provide an identity matrix from get_matrix
authorMikko Rasa <tdb@tdb.fi>
Mon, 2 Jul 2018 21:00:28 +0000 (00:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 2 Jul 2018 21:00:28 +0000 (00:00 +0300)
commitaf0ba2af0167247bcda74e76f3c83c0c0e89650a
tree36dfc864de18cdd1d58285d34b414c39d5c216ee
parent9319f1c8ed99866966f20fbab952da673af2257e
Have Object provide an identity matrix from get_matrix

It's often useful to have static geometry in a scene directly as an Object
without creating an instance.  Many features such as Z-sorting and culling
require a matrix to be available.
source/object.cpp
source/object.h