HGamer3D-0.8.0: Toolset for the Haskell Game Programmer

Safe HaskellNone
LanguageHaskell98

HGamer3D.Data.Transform3D

Description

Functions for basic 3D transformations

Synopsis

Documentation

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