All Classes Files Functions Variables
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sub::Colour Class Reference

An RGB colour. More...

#include <colour.h>

Public Member Functions

 Colour (float r, float g, float b)

Static Public Member Functions

static Colour from_argb_hex (std::string)
static Colour from_rgb_hex (std::string)

Public Attributes

float r
float g
float b

Detailed Description

An RGB colour.

Member Data Documentation

float sub::Colour::b

blue component (from 0 to 1)

float sub::Colour::g

green component (from 0 to 1)

float sub::Colour::r

red component (from 0 to 1)

The documentation for this class was generated from the following files: