TranslateX translates the specified distance on the local X axis.
(dist float32)
| 530 | |
| 531 | // TranslateX translates the specified distance on the local X axis. |
| 532 | func (n *Node) TranslateX(dist float32) { |
| 533 | |
| 534 | n.TranslateOnAxis(&math32.Vector3{1, 0, 0}, dist) |
| 535 | } |
| 536 | |
| 537 | // TranslateY translates the specified distance on the local Y axis. |
| 538 | func (n *Node) TranslateY(dist float32) { |
nothing calls this directly
no test coverage detected