Contraz / demosys-py

A light high performance modern OpenGL 3.3+ Python Framework https://demosys-py.readthedocs.io/
ISC License
64 stars 5 forks source link

Allow setting cube center point #29

Closed binaryf closed 6 years ago

binaryf commented 6 years ago

Allow setting what the cube center point is. This means we can for example align the cube on a specific axis and scale the geometry in the shader.

einarf commented 6 years ago

Could probably be done by adding two numpy arrays, but this is fine imho.