wavelength
1.0.0
Loading...
Searching...
No Matches
color.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
os/prnstream.h
"
4
12
struct
Color
{
13
float
r
;
14
float
g
;
15
float
b
;
16
float
a
;
17
};
18
28
PrnStream
&
operator<<
(
PrnStream
&stream,
const
Color
&color);
PrnStream
Text output stream.
Definition
prnstream.h:16
operator<<
PrnStream & operator<<(PrnStream &stream, const Color &color)
Write a colour as (r: g: b: a:).
prnstream.h
Color
Linear colour with four float components.
Definition
color.h:12
Color::b
float b
Definition
color.h:15
Color::r
float r
Definition
color.h:13
Color::g
float g
Definition
color.h:14
Color::a
float a
Definition
color.h:16
src
math
color.h
Generated by
1.15.0