HGamer3D-Data-0.4.0: Game Engine for the Haskell Programmer - Data Definitions and Utilities

Safe HaskellSafe-Inferred

HGamer3D.Data.Colour

Description

Module providing the Colour type and some standard colours

Synopsis

Documentation

data Colour Source

HGamer3D colour type

Constructors

Colour 

Fields

cRed :: Float

red component ranging from 0.0 to 1.0

cGreen :: Float

green component ranging from 0.0 to 1.0

cBlue :: Float

blue component ranging from 0.0 to 1.0

cAlpha :: Float

alpha component ranging from 0.0 to 1.0 with 1.0 being fully opaque

Instances