HGamer3D-0.9.0: Toolset for the Haskell Game Programmer
HGamer3D.Data.Transform3D
Description
Functions for basic 3D transformations
Synopsis
translate :: Position -> Position -> Position Source #
move the position
scale :: Size -> Vec3 -> Size Source #
scale the size
yaw :: Orientation -> Angle -> Orientation Source #
rotate object on own axis (yaw) by angle
pitch :: Orientation -> Angle -> Orientation Source #
rotate object on own axis (pitch) by angle
roll :: Orientation -> Angle -> Orientation Source #
rotate object on own axis (roll) by angle