rotateX

fun rotateX(pivot: Vector3dc, angle: Double, uvLock: Boolean = false, rescale: Boolean = false): ModelBuilder

Rotates the model by the given euler angle in degrees angle around the X axis through the given pivot point.

The uvLock parameter specifies whether the texture should be rotated with the model.

The rescale parameter specifies whether the model should be rescaled to fit the new size.


fun rotateX(angle: Double, uvLock: Boolean = false, rescale: Boolean = false): ModelBuilder

Rotates the model by the given euler angle in degrees around the X axis through the pivot point (8, 8, 8).

The uvLock parameter specifies whether the texture should be rotated with the model.

The rescale parameter specifies whether the model should be rescaled to fit the new size.