Skip to content

RotationBuilder

inner class RotationBuilder

Constructors

RotationBuilder

constructor()

Functions

angle

Return

this builder

Parameters

  • angle: the rotation angle

Throws

IllegalArgumentException

if angle is invalid (not one of 0, +/-22.5, +/-45)

axis

Return

this builder

Parameters

  • axis: the axis of rotation

Throws

NullPointerException

if axis is null

build

fun build(): BlockElementRotation

end

origin

rescale