Copyright | (c) 2016 Martin Buck |
---|---|
License | see LICENSE |
Safe Haskell | None |
Language | Haskell2010 |
Containing type definitions used within HGE2D
- type Second = Int
- type Millisecond = Int
- type Degree = Double
- type Drag = Double
- type Mass = Double
- type Meter = Double
- type MeterPmsec = Double
- type MeterPmsecSqr = Double
- type Pixel = Double
- type Radian = Double
- type RotationAcceleration = Radian
- type RotationSpeed = Radian
- type Width = Double
- type Height = Double
- type PosX = Double
- type PosY = Double
- type Acceleration = (MeterPmsecSqr, MeterPmsecSqr)
- type RealPosition = (Meter, Meter)
- type Velocity = (MeterPmsec, MeterPmsec)
- type GlPoint2 = Vertex2 GLfloat
- type GlPoint3 = Vector3 GLfloat
- type GlVer3 = Vertex3 GLfloat
- type GlPosX = GLfloat
- type GlPosY = GLfloat
- type GlPosZ = GLfloat
- type GlWidth = GLfloat
- type GlHeight = GLfloat
- type GlScaleX = GLfloat
- type GlScaleY = GLfloat
- type GlThickness = GLfloat
- type GlRadius = GLfloat
- type GlColorRGB = (GLfloat, GLfloat, GLfloat)
- type GlColorRGBA = (GLfloat, GLfloat, GLfloat, GLfloat)
- type GlShape = [GlPoint2]
Documentation
type Millisecond = Int Source #
Time in milliseconds
type MeterPmsec = Double Source #
Velocity in meters per millisecond
type MeterPmsecSqr = Double Source #
Acceleration in meters per millisecond squared
type RotationAcceleration = Radian Source #
Rotation acceleration in radians per millisecond squared
type RotationSpeed = Radian Source #
Rotation speed in radians per millisecond
type Acceleration = (MeterPmsecSqr, MeterPmsecSqr) Source #
Acceleration split in x and y component
type RealPosition = (Meter, Meter) Source #
Position of an object split in x and y component
type Velocity = (MeterPmsec, MeterPmsec) Source #
Velocity of an object split in x and y component
type GlThickness = GLfloat Source #
Thickness of e.g. a line defined by GLfloat value