MyUnitCube

MyUnitCube

Represents a unit cube.

Constructor

new MyUnitCube(scene)

Instantiates a new unit cube instance.
Source:
Parameters:
Name Type Description
scene CGFscene the scene in which the unit cube is going to be shown

Methods

initBuffers()

Initializes the unit cube buffers.
Source:

updateBuffers()

Updates the unit cube buffers.
Source: