liballofw
Main Page
Namespaces
Classes
Files
File List
File Members
AllofwModule
liballofw
include
allofw
math
color.h
Go to the documentation of this file.
1
#ifndef IV_MATH_COLOR_H
2
#define IV_MATH_COLOR_H
3
4
#include "
vector.h
"
5
6
namespace
allofw
{
7
9
struct
Color
{
11
float
r
,
g
,
b
,
a
;
13
Color
() =
default
;
15
Color
(
float
r_,
float
g_,
float
b_,
float
a_ = 1) : r(r_), g(g_), b(b_), a(a_) { }
16
};
17
18
}
19
20
#endif
allofw::Color::b
float b
Definition:
color.h:11
allofw::Color
Color struct.
Definition:
color.h:9
allofw
Definition:
allofw.h:12
allofw::Color::g
float g
Definition:
color.h:11
vector.h
allofw::Color::a
float a
Definition:
color.h:11
allofw::Color::Color
Color(float r_, float g_, float b_, float a_=1)
Initialize with RGBA.
Definition:
color.h:15
allofw::Color::r
float r
RGBA.
Definition:
color.h:11
allofw::Color::Color
Color()=default
Default constructor, uninitialized.
Generated by
1.8.11