$tx.invert()
Creates a transformation that inverts a given transformation
| name | Type | Type Description | Mandatory | Default |
|---|---|---|---|---|
| tx | Transformation | A transformation whose effect is to be inverted. | yes |
Type: `tl.threed.core:Transformation`
txIdentity().invert()
Output: `txIdentity()`
The unit transformation is inverse to itself.
translate(100, 100, 50)
Output: translate(-100, -100, -50)
rotate(Math.PI, Math.PI, Math.PI/2)
Output: rotate(z: Math.PI/2)