Primitives

Functions

GColor color <- colorFromStringRGB (String color)
Converts a comma- or space-separated string of values into a color.

GPoint color <- pointFromStringXYZ (String point)
Converts a comma- or space-separated string of values into a point.

Classes

GColor
Represents an RGBA color.

Constructors
GColor(Float red, Float green, Float blue)
GColor(Float red, Float green, Float blue, Float alpha)

GMatrix
Represents a 4x4 transform matrix.

GPoint
Represents a 3D position or direction.

Constructors
GPoint(Float x, Float y, Float z)
GPoint(Float x, Float y, Float z, Float w)

GQuaternion
Represents a quaternion.

Constructors
GQuaternion(Float x, Float y, Float z)
GQuaternion(Float x, Float y, Float z, Float w)