adbrown85 / gloop

Lightweight C++ wrapper for OpenGL
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Encapsulate Variable #34

Closed adbrown85 closed 12 years ago

adbrown85 commented 12 years ago

Currently the fields in Variable are public. At some point we should hide them and provide accessors, or perhaps just make them const, although I'm not sure if that's a good idea considering that prevents users from putting them in standard library containers (because they require a public assignment operator.)