Matrix returns a copy of the local transformation matrix.
()
| 757 | |
| 758 | // Matrix returns a copy of the local transformation matrix. |
| 759 | func (n *Node) Matrix() math32.Matrix4 { |
| 760 | |
| 761 | return n.matrix |
| 762 | } |
| 763 | |
| 764 | // WorldPosition updates the world matrix and sets |
| 765 | // the specified vector to the current world position of this node. |