makesites / construct

Construct.js is a lightweight, non-intrusive framework for WebGL using popular open source libs as dependencies
http://construct.tech
Other
7 stars 2 forks source link

Convert namespace to a unified class #4

Closed tracend closed 11 years ago

tracend commented 11 years ago

The construct namespace is comprised of an initialise method and a series of decoupled methods.

Moving forward, there will be the a need to the methods to "talk" to each other and thus "this" object needs to refer to the parent class at all times.

The collection of methods can be moved under the prototype method and the main lib can end by initialising the class...

construct = new Construct();
tracend commented 11 years ago

Reverting from this decision (for now)

The existing scope seems to fit better with the decoupled set of methods...

Might revisit this in the (near) future