Robert42 / gl-research-toolkit

A small collection of tools thought for researching realtime graphic techniques using OpenGL
Other
5 stars 0 forks source link

Try using an Array trait with buckets for scene management #53

Closed Robert42 closed 8 years ago

Robert42 commented 8 years ago

The classes glrt::ArrayBucketTraits_VariableNumberOfBuckets and glrt::ArrayBucketTraits_FixedNumberOfBuckets are meant to be used as traits for an array. See https://github.com/Robert42/gl-research-toolkit/blob/c20fe3c43e2260c6610f7f601ac694681160d62d/gl-research-toolkit/core/include/glrt/toolkit/array-bucket-traits.h

Robert42 commented 8 years ago

too much effort for a suboptiomal solution (possibly shifting the whole array)

An own Array class is risky eneough. It should do only one thing