]> git.tdb.fi Git - libs/gl.git/commit
Redesign InstanceArray
authorMikko Rasa <tdb@tdb.fi>
Thu, 17 Mar 2022 19:55:18 +0000 (21:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 17 Mar 2022 20:06:05 +0000 (22:06 +0200)
commit274b6fb1b02692cc422bad9040d1abe5d545505a
tree479ad0028524b802a05b30e1073f8837d6d152fc
parentc737d292d49d2d39b44e1cd903c1f8b79174f0d7
Redesign InstanceArray

It now stores the instances contiguously in memory instead of allocating
them individually.  Consequently only one type of instance is allowed in
any particular array.
source/render/instancearray.cpp
source/render/instancearray.h