Closed philogb closed 13 years ago
By ensuring all vertices, normals, texCoords, indices use typed arrays. Maybe also consider true getters and setters for colors, vertices, normals and other properties so we can ensure they're typed arrays in the correct format.
Plus translate Vec3, Mat4, Quat to use typed arrays as well (and add setters and getters for known properties).
Done. Finally.
By ensuring all vertices, normals, texCoords, indices use typed arrays. Maybe also consider true getters and setters for colors, vertices, normals and other properties so we can ensure they're typed arrays in the correct format.