matrix

A 4x4 row/column
matrix used to represent transforms

Properties

This object has no properties.
Constructors

matrix | Creates an identity matrix |

getTranslationMatrix | Creates a translation transform matrix |

getRotationMatrix | Creates a rotation transform matrix |

getRotationXMatrix | Creates a rotation transform matrix about the x-axis |

getRotationYMatrix | Creates a rotation transform matrix about the y-axis |

getRotationZMatrix | Creates a rotation transform matrix about the z-axis |

getAxisRotationMatrix | Creates a rotation transform matrix from an axis and angle |

getNormalRotationMatrix | Creates a transform matrix orientated about a given normal |

getScalingMatrix | Creates a scaling transform matrix |

Methods

invert | Inverts the matrix in-place |

getInverse | Returns an inverted copy of the matrix |

transpose | Transposes the matrix in-place |

getTranspose | Returns a transposed copy of the matrix |

getEulerAngles | Returns euler angles representing the rotation of the transform matrix |

getRightDir | Returns the right-facing normal of the transform matrix |

getUpDir | Returns the up-facing normal of the transform matrix |

getLookAtDir | Returns the front-facing normal of the transform matrix |

getPosition | Returns the position of the transform matrix |

getRow3 | Returns a vector3 row of the transform matrix |

getRow | Returns a vector4 row of the transform matrix |

setRow | Sets a row of the transform matrix |

getColumn3 | Returns a vector3 column of the transform matrix |

getColumn | Returns a vector4 column of the transform matrix |

setColumn | Sets a column of the transform matrix |

Events

This object has no events.