Norbert's Game Engine v200
Loading...
Searching...
No Matches
eColor Struct Reference

#include <Transformations.hpp>

Inheritance diagram for eColor:
eColor4

Public Member Functions

 eColor (const eColor &vl)
 
 eColor (real3 vl)
 
 eColor (real3 red, real3 green, real3 blue)
 

Public Attributes

real3 mRed
 
real3 mGreen
 
real3 mBlue
 

Detailed Description

Color

Definition at line 38 of file Transformations.hpp.

Constructor & Destructor Documentation

◆ eColor() [1/4]

eColor::eColor ( )
inline

Definition at line 44 of file Transformations.hpp.

45 {
46 mRed = 1.0f;
47 mGreen = 1.0f;
48 mBlue = 1.0f;
49 }

◆ eColor() [2/4]

eColor::eColor ( const eColor & vl)
inline

Definition at line 51 of file Transformations.hpp.

52 {
53 mRed = vl.mRed;
54 mGreen = vl.mGreen;
55 mBlue = vl.mBlue;
56 }

◆ eColor() [3/4]

eColor::eColor ( real3 vl)
inline

Definition at line 58 of file Transformations.hpp.

59 {
60 mRed = vl;
61 mGreen = vl;
62 mBlue = vl;
63 }

◆ eColor() [4/4]

eColor::eColor ( real3 red,
real3 green,
real3 blue )
inline

Definition at line 65 of file Transformations.hpp.

66 {
67 mRed = red;
68 mGreen = green;
69 mBlue = blue;
70 }

Member Data Documentation

◆ mBlue

real3 eColor::mBlue

Definition at line 42 of file Transformations.hpp.

◆ mGreen

real3 eColor::mGreen

Definition at line 41 of file Transformations.hpp.

◆ mRed

real3 eColor::mRed

Definition at line 40 of file Transformations.hpp.


The documentation for this struct was generated from the following file: