TranslateZ translates the specified distance on the local Z axis.
(dist float32)
| 542 | |
| 543 | // TranslateZ translates the specified distance on the local Z axis. |
| 544 | func (n *Node) TranslateZ(dist float32) { |
| 545 | |
| 546 | n.TranslateOnAxis(&math32.Vector3{0, 0, 1}, dist) |
| 547 | } |
| 548 | |
| 549 | // SetRotation sets the global rotation in Euler angles (radians). |
| 550 | func (n *Node) SetRotation(x, y, z float32) { |
nothing calls this directly
no test coverage detected