TransformedShape

TransformedShape

Add any shape to this to move it around with a matrix.

Constructor

new TransformedShape(Shape)

Source:
Example
let matrix = Translate(new Vector(0,0,5))// move 5 units up
cube = new TransformedShape(shape, matrix)
 (Shape, Matrix)
Parameters:
Name Type Description
Shape
Matrix

Classes

TransformedShape