EHS
Loading...
Searching...
No Matches
ehs::Color3 Class Reference

#include <Color3.h>

Public Member Functions

 Color3 ()
 
 Color3 (float scalar)
 
 Color3 (float r, float g, float b)
 
 Color3 (const Color3 &color)
 
Color3operator= (float scalar)
 
Color3operator= (const Color3 &color)
 
bool operator== (const Color3 &color) const
 
bool operator!= (const Color3 &color) const
 
float operator[] (UInt_64 i) const
 
float & operator[] (UInt_64 i)
 
Color3operator*= (const Color3 &color)
 
Color3 operator* (const Color3 &color) const
 

Public Attributes

float r
 
float g
 
float b
 

Constructor & Destructor Documentation

◆ Color3() [1/4]

ehs::Color3::Color3 ( )

◆ Color3() [2/4]

ehs::Color3::Color3 ( float scalar)

◆ Color3() [3/4]

ehs::Color3::Color3 ( float r,
float g,
float b )

◆ Color3() [4/4]

ehs::Color3::Color3 ( const Color3 & color)

Member Function Documentation

◆ operator!=()

bool ehs::Color3::operator!= ( const Color3 & color) const

◆ operator*()

Color3 ehs::Color3::operator* ( const Color3 & color) const

◆ operator*=()

Color3 & ehs::Color3::operator*= ( const Color3 & color)

◆ operator=() [1/2]

Color3 & ehs::Color3::operator= ( const Color3 & color)

◆ operator=() [2/2]

Color3 & ehs::Color3::operator= ( float scalar)

◆ operator==()

bool ehs::Color3::operator== ( const Color3 & color) const

◆ operator[]() [1/2]

float & ehs::Color3::operator[] ( UInt_64 i)

◆ operator[]() [2/2]

float ehs::Color3::operator[] ( UInt_64 i) const

Member Data Documentation

◆ b

float ehs::Color3::b

◆ g

float ehs::Color3::g

◆ r

float ehs::Color3::r

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