Public Member Functions | Public Attributes

a5::RGB_Float Struct Reference
[Color]

Stores Colors as floating point in the RGB format. More...

#include <Color.hpp>

List of all members.

Public Member Functions

 RGB_Float (float r_, float g_, float b_)
 Creates an RGB object with the specified values.
 RGB_Float (const Color &c)
 Creates an RGB object from a Color object.
 operator Color () const
 Converts to a Color object.

Public Attributes

float r
 Red color component.
float g
 Green color component.
float b
 Blue color component.

Detailed Description

Stores Colors as floating point in the RGB format.


Constructor & Destructor Documentation

a5::RGB_Float::RGB_Float ( float  r_,
float  g_,
float  b_ 
)

Creates an RGB object with the specified values.

a5::RGB_Float::RGB_Float ( const Color c  ) 

Creates an RGB object from a Color object.


Member Function Documentation

a5::RGB_Float::operator Color (  )  const

Converts to a Color object.


Member Data Documentation

Red color component.

Green color component.

Blue color component.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines