SetScale sets the scale.
(x, y, z float32)
| 688 | |
| 689 | // SetScale sets the scale. |
| 690 | func (n *Node) SetScale(x, y, z float32) { |
| 691 | |
| 692 | n.scale.Set(x, y, z) |
| 693 | n.matNeedsUpdate = true |
| 694 | } |
| 695 | |
| 696 | // SetScaleVec sets the scale based on the specified vector pointer. |
| 697 | func (n *Node) SetScaleVec(scale *math32.Vector3) { |