Cube creation – Dragon3DGraff_Blog

Cube creation

0

Create a cube with the mouse. The point at which the primitive is created is the intersection of the cursor and one of the planes passing along the coordinate axes. The intersection is determined by Raycaster. The primitive is resized by changing the size by 0.1 when the mouse moves.

TODO: make the primitive stretch behind the mouse pointer.

0

Leave a Reply

Your email address will not be published. Required fields are marked *