hadronized / quaazar

Realtime 3D engine
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Semantics in user space #91

Closed hadronized closed 9 years ago

hadronized commented 9 years ago

Problem

The semantics in user space shouldn’t depend on internal ones, like “you shall start at 8”. That’s boring. We have to find a way to expose them in a better way.

Safe wrapping

The operator ($=) will be used by users outside of quaazar to set uniforms values. We could override it in userspace so that it automatically adds an offset to prevent the user from overlapping quaazar’s reserved uniforms.

hadronized commented 9 years ago

We’ve found a better way.