Constructor
new MyCubeMap(scene, side, texture)
Instantiates a new cube map instance.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
scene |
CGFscene
|
the scene in which the cube map will be shown |
side |
number
|
the length of a side of the cube |
texture |
CGFtexture
|
the cubemap texture |