-- Mar 6 In-Class Exercise Thread
1. getShapeInfo(VRObject): retrieves a data and info about the shape to be drawn such as vertex, color, and vertex count about the shape. By automatically binding to the buffers of each object and extracting the data.
2. drawIndividual(VRObject, shapeInfo): This would draw individual VRObjects based on the shape info.
3. transform(VRObject, rotation, translation): calculates the new matrix needed for the transformation. It could be a rotation, translation, or both.
(
Edited: 2019-03-06)
1. getShapeInfo(VRObject): retrieves a data and info about the shape to be drawn such as vertex, color, and vertex count about the shape. By automatically binding to the buffers of each object and extracting the data.
2. drawIndividual(VRObject, shapeInfo): This would draw individual VRObjects based on the shape info.
3. transform(VRObject, rotation, translation): calculates the new matrix needed for the transformation. It could be a rotation, translation, or both.