HGamer3D-Data-0.5.0: Toolset for the Haskell Game Programmer - Data Definitions

Safe HaskellSafe-Inferred
LanguageHaskell98

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