Package org.openrndr.math.transforms
Types
TransformBuilder
Link copied to clipboard
Functions
buildTransform
Link copied to clipboard
fun buildTransform(baseTransform: Matrix44 = Matrix44.IDENTITY, builder: TransformBuilder.() -> Unit): Matrix44
Content copied to clipboard
An alias for transform, useful for those cases in which the word transform is used too often
normalMatrix
Link copied to clipboard
Construct a normal matrix from the give view matrix
ortho
Link copied to clipboard
Creates an orthographic projection matrix
perspective
Link copied to clipboard
fun perspective(fovY: Double, aspectRatio: Double, zNear: Double): Matrix44
Content copied to clipboard
Creates an perspective projection matrix with infinite clipping depth
Creates an perspective projection matrix
perspectiveHorizontal
Link copied to clipboard
rotateX
Link copied to clipboard
Create a rotation matrix around the X axes
rotateY
Link copied to clipboard
Create a rotation matrix around the Y axes
rotateZ
Link copied to clipboard
Create a rotation matrix around the Z axes
scale
Link copied to clipboard
Create a scaling matrix with the given vector
transform
Link copied to clipboard
fun KMutableProperty0<Matrix44>.transform(builder: TransformBuilder.() -> Unit)
Content copied to clipboard
Matrix44 property transform helper
Matrix44 transform helper
fun transform(baseTransform: Matrix44 = Matrix44.IDENTITY, builder: TransformBuilder.() -> Unit): Matrix44
Content copied to clipboard
Build a transform presented by a Matrix44
translate
Link copied to clipboard
Create a translate matrix with the given vector