Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
Color.cpp
Go to the documentation of this file.
1
2/*
3 ██╗ ██╗ █████╗ ████████╗ █████╗ ███╗ ██╗ █████╗
4 ██║ ██╔╝ ██╔══██╗ ╚══██╔══╝ ██╔══██╗ ████╗ ██║ ██╔══██╗
5 █████╔╝ ███████║ ██║ ███████║ ██╔██╗ ██║ ███████║
6 ██╔═██╗ ██╔══██║ ██║ ██╔══██║ ██║╚██╗██║ ██╔══██║
7 ██║ ██╗ ██║ ██║ ██║ ██║ ██║ ██║ ╚████║ ██║ ██║
8 ╚═╝ ╚═╝ ╚═╝ ╚═╝/\ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝
9 /vvvvvvvvvvvvvvvvvvv \=========================================,
10 `^^^^^^^^^^^^^^^^^^^ /---------------------------------------"
11 Katana Engine \/ © 2012 - Shuriken Studios LLC
12 http://www.shurikenstudios.com
13*/
14
15#include "KatanaEngine.h"
16
17namespace KatanaEngine
18{
19#pragma region Static Color Definitions
20 const Color Color::AliceBlue = Color(0.94f, 0.97f, 1.0f);
21 const Color Color::AntiqueWhite = Color(0.98f, 0.92f, 0.84f);
22 const Color Color::Aqua = Color(0.0f, 1.0f, 1.0f);
23 const Color Color::Aquamarine = Color(0.5f, 1.0f, 0.83f);
24 const Color Color::Azure = Color(0.94f, 1.0f, 1.0f);
25 const Color Color::Beige = Color(0.96f, 0.96f, 0.86f);
26 const Color Color::Bisque = Color(1.0f, 0.89f, 0.77f);
27 const Color Color::Black = Color(0.0f, 0.0f, 0.0f);
28 const Color Color::BlanchedAlmond = Color(1.0f, 0.92f, 0.8f);
29 const Color Color::Blue = Color(0.0f, 0.0f, 1.0f);
30 const Color Color::BlueViolet = Color(0.54f, 0.17f, 0.89f);
31 const Color Color::Brown = Color(0.65f, 0.16f, 0.16f);
32 const Color Color::Burlywood = Color(0.87f, 0.72f, 0.53f);
33 const Color Color::CadetBlue = Color(0.37f, 0.62f, 0.63f);
34 const Color Color::Chartreuse = Color(0.5f, 1.0f, 0.0f);
35 const Color Color::Chocolate = Color(0.82f, 0.41f, 0.12f);
36 const Color Color::Coral = Color(1.0f, 0.5f, 0.31f);
37 const Color Color::Cornflower = Color(0.39f, 0.58f, 0.93f);
38 const Color Color::Cornsilk = Color(1.0f, 0.97f, 0.86f);
39 const Color Color::Crimson = Color(0.86f, 0.08f, 0.24f);
40 const Color Color::Cyan = Color(0.0f, 1.0f, 1.0f);
41 const Color Color::DarkBlue = Color(0.0f, 0.0f, 0.55f);
42 const Color Color::DarkCyan = Color(0.0f, 0.55f, 0.55f);
43 const Color Color::DarkGoldenrod = Color(0.72f, 0.53f, 0.04f);
44 const Color Color::DarkGray = Color(0.66f, 0.66f, 0.66f);
45 const Color Color::DarkGreen = Color(0.0f, 0.39f, 0.0f);
46 const Color Color::DarkKhaki = Color(0.74f, 0.72f, 0.42f);
47 const Color Color::DarkMagenta = Color(0.55f, 0.0f, 0.55f);
48 const Color Color::DarkOliveGreen = Color(0.33f, 0.42f, 0.18f);
49 const Color Color::DarkOrange = Color(1.0f, 0.55f, 0.0f);
50 const Color Color::DarkOrchid = Color(0.6f, 0.2f, 0.8f);
51 const Color Color::DarkRed = Color(0.55f, 0.0f, 0.0f);
52 const Color Color::DarkSalmon = Color(0.91f, 0.59f, 0.48f);
53 const Color Color::DarkSeaGreen = Color(0.56f, 0.74f, 0.56f);
54 const Color Color::DarkSlateBlue = Color(0.28f, 0.24f, 0.55f);
55 const Color Color::DarkSlateGray = Color(0.18f, 0.31f, 0.31f);
56 const Color Color::DarkTurquoise = Color(0.0f, 0.81f, 0.82f);
57 const Color Color::DarkViolet = Color(0.58f, 0.0f, 0.83f);
58 const Color Color::DeepPink = Color(1.0f, 0.08f, 0.58f);
59 const Color Color::DeepSkyBlue = Color(0.0f, 0.75f, 1.0f);
60 const Color Color::DimGray = Color(0.41f, 0.41f, 0.41f);
61 const Color Color::DodgerBlue = Color(0.12f, 0.56f, 1.0f);
62 const Color Color::Firebrick = Color(0.7f, 0.13f, 0.13f);
63 const Color Color::FloralWhite = Color(1.0f, 0.98f, 0.94f);
64 const Color Color::ForestGreen = Color(0.13f, 0.55f, 0.13f);
65 const Color Color::Fuchsia = Color(1.0f, 0.0f, 1.0f);
66 const Color Color::Gainsboro = Color(0.86f, 0.86f, 0.86f);
67 const Color Color::GhostWhite = Color(0.97f, 0.97f, 1.0f);
68 const Color Color::Gold = Color(1.0f, 0.84f, 0.0f);
69 const Color Color::Goldenrod = Color(0.85f, 0.65f, 0.13f);
70 const Color Color::Gray = Color(0.75f, 0.75f, 0.75f);
71 const Color Color::WebGray = Color(0.5f, 0.5f, 0.5f);
72 const Color Color::Green = Color(0.0f, 1.0f, 0.0f);
73 const Color Color::WebGreen = Color(0.0f, 0.5f, 0.0f);
74 const Color Color::GreenYellow = Color(0.68f, 1.0f, 0.18f);
75 const Color Color::Honeydew = Color(0.94f, 1.0f, 0.94f);
76 const Color Color::HotPink = Color(1.0f, 0.41f, 0.71f);
77 const Color Color::IndianRed = Color(0.8f, 0.36f, 0.36f);
78 const Color Color::Indigo = Color(0.29f, 0.0f, 0.51f);
79 const Color Color::Ivory = Color(1.0f, 1.0f, 0.94f);
80 const Color Color::Khaki = Color(0.94f, 0.9f, 0.55f);
81 const Color Color::Lavender = Color(0.9f, 0.9f, 0.98f);
82 const Color Color::LavenderBlush = Color(1.0f, 0.94f, 0.96f);
83 const Color Color::LawnGreen = Color(0.49f, 0.99f, 0.0f);
84 const Color Color::LemonChiffon = Color(1.0f, 0.98f, 0.8f);
85 const Color Color::LightBlue = Color(0.68f, 0.85f, 0.9f);
86 const Color Color::LightCoral = Color(0.94f, 0.5f, 0.5f);
87 const Color Color::LightCyan = Color(0.88f, 1.0f, 1.0f);
88 const Color Color::LightGoldenrod = Color(0.98f, 0.98f, 0.82f);
89 const Color Color::LightGray = Color(0.83f, 0.83f, 0.83f);
90 const Color Color::LightGreen = Color(0.56f, 0.93f, 0.56f);
91 const Color Color::LightPink = Color(1.0f, 0.71f, 0.76f);
92 const Color Color::LightSalmon = Color(1.0f, 0.63f, 0.48f);
93 const Color Color::LightSeaGreen = Color(0.13f, 0.7f, 0.67f);
94 const Color Color::LightSkyBlue = Color(0.53f, 0.81f, 0.98f);
95 const Color Color::LightSlateGray = Color(0.47f, 0.53f, 0.6f);
96 const Color Color::LightSteelBlue = Color(0.69f, 0.77f, 0.87f);
97 const Color Color::LightYellow = Color(1.0f, 1.0f, 0.88f);
98 const Color Color::Lime = Color(0.0f, 1.0f, 0.0f);
99 const Color Color::LimeGreen = Color(0.2f, 0.8f, 0.2f);
100 const Color Color::Linen = Color(0.98f, 0.94f, 0.9f);
101 const Color Color::Magenta = Color(1.0f, 0.0f, 1.0f);
102 const Color Color::Maroon = Color(0.69f, 0.19f, 0.38f);
103 const Color Color::WebMaroon = Color(0.5f, 0.0f, 0.0f);
104 const Color Color::MediumAquamarine = Color(0.4f, 0.8f, 0.67f);
105 const Color Color::MediumBlue = Color(0.0f, 0.0f, 0.8f);
106 const Color Color::MediumOrchid = Color(0.73f, 0.33f, 0.83f);
107 const Color Color::MediumPurple = Color(0.58f, 0.44f, 0.86f);
108 const Color Color::MediumSeaGreen = Color(0.24f, 0.7f, 0.44f);
109 const Color Color::MediumSlateBlue = Color(0.48f, 0.41f, 0.93f);
110 const Color Color::MediumSpringGreen = Color(0.0f, 0.98f, 0.6f);
111 const Color Color::MediumTurquoise = Color(0.28f, 0.82f, 0.8f);
112 const Color Color::MediumVioletRed = Color(0.78f, 0.08f, 0.52f);
113 const Color Color::MidnightBlue = Color(0.1f, 0.1f, 0.44f);
114 const Color Color::MintCream = Color(0.96f, 1.0f, 0.98f);
115 const Color Color::MistyRose = Color(1.0f, 0.89f, 0.88f);
116 const Color Color::Moccasin = Color(1.0f, 0.89f, 0.71f);
117 const Color Color::NavajoWhite = Color(1.0f, 0.87f, 0.68f);
118 const Color Color::NavyBlue = Color(0.0f, 0.0f, 0.5f);
119 const Color Color::OldLace = Color(0.99f, 0.96f, 0.9f);
120 const Color Color::Olive = Color(0.5f, 0.5f, 0.0f);
121 const Color Color::OliveDrab = Color(0.42f, 0.56f, 0.14f);
122 const Color Color::Orange = Color(1.0f, 0.65f, 0.0f);
123 const Color Color::OrangeRed = Color(1.0f, 0.27f, 0.0f);
124 const Color Color::Orchid = Color(0.85f, 0.44f, 0.84f);
125 const Color Color::PaleGoldenrod = Color(0.93f, 0.91f, 0.67f);
126 const Color Color::PaleGreen = Color(0.6f, 0.98f, 0.6f);
127 const Color Color::PaleTurquoise = Color(0.69f, 0.93f, 0.93f);
128 const Color Color::PaleVioletRed = Color(0.86f, 0.44f, 0.58f);
129 const Color Color::PapayaWhip = Color(1.0f, 0.94f, 0.84f);
130 const Color Color::PeachPuff = Color(1.0f, 0.85f, 0.73f);
131 const Color Color::Peru = Color(0.8f, 0.52f, 0.25f);
132 const Color Color::Pink = Color(1.0f, 0.75f, 0.8f);
133 const Color Color::Plum = Color(0.87f, 0.63f, 0.87f);
134 const Color Color::PowderBlue = Color(0.69f, 0.88f, 0.9f);
135 const Color Color::Purple = Color(0.63f, 0.13f, 0.94f);
136 const Color Color::WebPurple = Color(0.5f, 0.0f, 0.5f);
137 const Color Color::RebeccaPurple = Color(0.4f, 0.2f, 0.6f);
138 const Color Color::Red = Color(1.0f, 0.0f, 0.0f);
139 const Color Color::RosyBrown = Color(0.74f, 0.56f, 0.56f);
140 const Color Color::RoyalBlue = Color(0.25f, 0.41f, 0.88f);
141 const Color Color::SaddleBrown = Color(0.55f, 0.27f, 0.07f);
142 const Color Color::Salmon = Color(0.98f, 0.5f, 0.45f);
143 const Color Color::SandyBrown = Color(0.96f, 0.64f, 0.38f);
144 const Color Color::SeaGreen = Color(0.18f, 0.55f, 0.34f);
145 const Color Color::Seashell = Color(1.0f, 0.96f, 0.93f);
146 const Color Color::Sienna = Color(0.63f, 0.32f, 0.18f);
147 const Color Color::Silver = Color(0.75f, 0.75f, 0.75f);
148 const Color Color::SkyBlue = Color(0.53f, 0.81f, 0.92f);
149 const Color Color::SlateBlue = Color(0.42f, 0.35f, 0.8f);
150 const Color Color::SlateGray = Color(0.44f, 0.5f, 0.56f);
151 const Color Color::Snow = Color(1.0f, 0.98f, 0.98f);
152 const Color Color::SpringGreen = Color(0.0f, 1.0f, 0.5f);
153 const Color Color::SteelBlue = Color(0.27f, 0.51f, 0.71f);
154 const Color Color::Tan = Color(0.82f, 0.71f, 0.55f);
155 const Color Color::Teal = Color(0.0f, 0.5f, 0.5f);
156 const Color Color::Thistle = Color(0.85f, 0.75f, 0.85f);
157 const Color Color::Tomato = Color(1.0f, 0.39f, 0.28f);
158 const Color Color::Turquoise = Color(0.25f, 0.88f, 0.82f);
159 const Color Color::Violet = Color(0.93f, 0.51f, 0.93f);
160 const Color Color::Wheat = Color(0.96f, 0.87f, 0.7f);
161 const Color Color::White = Color(1.0f, 1.0f, 1.0f);
162 const Color Color::WhiteSmoke = Color(0.96f, 0.96f, 0.96f);
163 const Color Color::Yellow = Color(1.0f, 1.0f, 0.0f);
164 const Color Color::YellowGreen = Color(0.6f, 0.8f, 0.2f);
165#pragma endregion
166
167
168 Color::Color(const float red, const float green, const float blue, const float alpha)
169 {
170 this->red = red;
171 this->green = green;
172 this->blue = blue;
173 this->alpha = alpha;
174 }
175
176 Color Color::Lerp(const Color &start, const Color &end, const float value)
177 {
178 if (value <= 0) return start;
179 if (value >= 1) return end;
180
181 float red = Math::Lerp(start.red, end.red, value);
182 float green = Math::Lerp(start.green, end.green, value);
183 float blue = Math::Lerp(start.blue, end.blue, value);
184 float alpha = Math::Lerp(start.alpha, end.alpha, value);
185
186 return Color(red, green, blue, alpha);
187 }
188
189 const Color Color::operator*(const float scalar) const
190 {
191 Color color = Color(*this);
192 color.red *= scalar;
193 color.green *= scalar;
194 color.blue *= scalar;
195 color.alpha *= scalar;
196 return color;
197 }
198
199 bool Color::operator== (const Color& color) const
200 {
201 return ((red == color.red) && (green == color.green)
202 && (blue == color.blue) && (alpha == color.alpha));
203 }
204
205 bool Color::operator!= (const Color& color) const
206 {
207 return !((red == color.red) && (green == color.green)
208 && (blue == color.blue) && (alpha == color.alpha));
209 }
210}
Represents a four-component color using red, green, blue, and alpha data.
Definition Color.h:21
static const Color Plum
Plum.
Definition Color.h:173
static const Color PaleGreen
PaleGreen.
Definition Color.h:166
static const Color Lime
Lime.
Definition Color.h:138
static const Color PaleVioletRed
PaleVioletRed.
Definition Color.h:168
static const Color MediumPurple
MediumPurple.
Definition Color.h:147
static const Color LightSalmon
LightSalmon.
Definition Color.h:132
static const Color MidnightBlue
MidnightBlue.
Definition Color.h:153
static const Color WebPurple
WebPurple.
Definition Color.h:176
static const Color BlanchedAlmond
BlanchedAlmond.
Definition Color.h:68
static const Color Salmon
Salmon.
Definition Color.h:182
static const Color Purple
Purple.
Definition Color.h:175
static const Color Red
Red.
Definition Color.h:178
static const Color DarkGoldenrod
DarkGoldenrod.
Definition Color.h:83
static const Color Gray
Gray.
Definition Color.h:110
static const Color DarkViolet
DarkViolet.
Definition Color.h:97
bool operator==(const Color &color) const
Determines if two colors are equal.
Definition Color.cpp:199
static const Color Olive
Olive.
Definition Color.h:160
static const Color DarkSlateBlue
DarkSlateBlue.
Definition Color.h:94
static const Color MistyRose
MistyRose.
Definition Color.h:155
static const Color LightGreen
LightGreen.
Definition Color.h:130
static const Color LimeGreen
LimeGreen.
Definition Color.h:139
static const Color OliveDrab
OliveDrab.
Definition Color.h:161
static const Color SkyBlue
SkyBlue.
Definition Color.h:188
static const Color MediumSeaGreen
MediumSeaGreen.
Definition Color.h:148
static const Color Pink
Pink.
Definition Color.h:172
static const Color LightPink
LightPink.
Definition Color.h:131
static const Color DarkTurquoise
DarkTurquoise.
Definition Color.h:96
static const Color DarkCyan
DarkCyan.
Definition Color.h:82
static const Color DarkKhaki
DarkKhaki.
Definition Color.h:86
static const Color Black
Black.
Definition Color.h:67
static const Color LightYellow
LightYellow.
Definition Color.h:137
static const Color DeepPink
DeepPink.
Definition Color.h:98
static const Color Thistle
Thistle.
Definition Color.h:196
static const Color Honeydew
Honeydew.
Definition Color.h:115
static const Color Teal
Teal.
Definition Color.h:195
static const Color Orange
Orange.
Definition Color.h:162
static const Color Green
Green.
Definition Color.h:112
static const Color MediumBlue
MediumBlue.
Definition Color.h:145
static const Color AliceBlue
AliceBlue.
Definition Color.h:60
static const Color DarkBlue
DarkBlue.
Definition Color.h:81
static const Color Lavender
Lavender.
Definition Color.h:121
static const Color MediumOrchid
MediumOrchid.
Definition Color.h:146
static const Color NavajoWhite
NavajoWhite.
Definition Color.h:157
static const Color DimGray
DimGray.
Definition Color.h:100
static const Color WebMaroon
WebMaroon.
Definition Color.h:143
static const Color Aquamarine
Aquamarine.
Definition Color.h:63
static const Color DarkGreen
DarkGreen.
Definition Color.h:85
static const Color Ivory
Ivory.
Definition Color.h:119
static const Color DarkOrchid
DarkOrchid.
Definition Color.h:90
static const Color MediumSpringGreen
MediumSpringGreen.
Definition Color.h:150
static const Color Chartreuse
Chartreuse.
Definition Color.h:74
static const Color LightSkyBlue
LightSkyBlue.
Definition Color.h:134
static const Color Wheat
Wheat.
Definition Color.h:200
static const Color Beige
Beige.
Definition Color.h:65
static const Color LightGray
LightGray.
Definition Color.h:129
static const Color Chocolate
Chocolate.
Definition Color.h:75
static const Color WebGray
WebGray.
Definition Color.h:111
static const Color MediumTurquoise
MediumTurquoise.
Definition Color.h:151
static const Color LavenderBlush
LavenderBlush.
Definition Color.h:122
static const Color Goldenrod
Goldenrod.
Definition Color.h:109
static const Color NavyBlue
NavyBlue.
Definition Color.h:158
static const Color SeaGreen
SeaGreen.
Definition Color.h:184
static const Color DarkSeaGreen
DarkSeaGreen.
Definition Color.h:93
static const Color FloralWhite
FloralWhite.
Definition Color.h:103
static const Color DarkOliveGreen
DarkOliveGreen.
Definition Color.h:88
static const Color DarkOrange
DarkOrange.
Definition Color.h:89
static const Color Firebrick
Firebrick.
Definition Color.h:102
static const Color ForestGreen
ForestGreen.
Definition Color.h:104
static const Color LightBlue
LightBlue.
Definition Color.h:125
static const Color Gold
Gold.
Definition Color.h:108
static const Color YellowGreen
YellowGreen.
Definition Color.h:204
static const Color Snow
Snow.
Definition Color.h:191
static const Color DarkRed
DarkRed.
Definition Color.h:91
static const Color AntiqueWhite
AntiqueWhite.
Definition Color.h:61
static const Color Blue
Blue.
Definition Color.h:69
static const Color SpringGreen
SpringGreen.
Definition Color.h:192
static const Color LightCoral
LightCoral.
Definition Color.h:126
static const Color IndianRed
IndianRed.
Definition Color.h:117
static const Color PaleGoldenrod
PaleGoldenrod.
Definition Color.h:165
static const Color Orchid
Orchid.
Definition Color.h:164
static const Color Cornsilk
Cornsilk.
Definition Color.h:78
static const Color CadetBlue
CadetBlue.
Definition Color.h:73
static const Color Tomato
Tomato.
Definition Color.h:197
static const Color SlateBlue
SlateBlue.
Definition Color.h:189
const Color operator*(const float scalar) const
Multiplies each component by a scale factor.
Definition Color.cpp:189
static const Color Brown
Brown.
Definition Color.h:71
static const Color DeepSkyBlue
DeepSkyBlue.
Definition Color.h:99
static const Color GreenYellow
GreenYellow.
Definition Color.h:114
static Color Lerp(const Color &start, const Color &end, const float value)
Linearly interpolate between two colors.
Definition Color.cpp:176
static const Color Seashell
Seashell.
Definition Color.h:185
Color(const float red=1, const float green=1, const float blue=1, const float alpha=1)
Instantiate a color object.
Definition Color.cpp:168
static const Color Burlywood
Burlywood.
Definition Color.h:72
static const Color SaddleBrown
SaddleBrown.
Definition Color.h:181
static const Color Aqua
Aqua.
Definition Color.h:62
static const Color WebGreen
WebGreen.
Definition Color.h:113
static const Color WhiteSmoke
WhiteSmoke.
Definition Color.h:202
static const Color Cornflower
Cornflower.
Definition Color.h:77
static const Color MediumVioletRed
MediumVioletRed.
Definition Color.h:152
static const Color LightSteelBlue
LightSteelBlue.
Definition Color.h:136
static const Color SandyBrown
SandyBrown.
Definition Color.h:183
static const Color PaleTurquoise
PaleTurquoise.
Definition Color.h:167
static const Color PeachPuff
PeachPuff.
Definition Color.h:170
static const Color Khaki
Khaki.
Definition Color.h:120
static const Color LightSeaGreen
LightSeaGreen.
Definition Color.h:133
static const Color Turquoise
Turquoise.
Definition Color.h:198
static const Color PowderBlue
PowderBlue.
Definition Color.h:174
static const Color LightCyan
LightCyan.
Definition Color.h:127
static const Color Peru
Peru.
Definition Color.h:171
static const Color LawnGreen
LawnGreen.
Definition Color.h:123
static const Color SteelBlue
SteelBlue.
Definition Color.h:193
static const Color MediumSlateBlue
MediumSlateBlue.
Definition Color.h:149
static const Color DarkSalmon
DarkSalmon.
Definition Color.h:92
static const Color DarkMagenta
DarkMagenta.
Definition Color.h:87
static const Color DarkSlateGray
DarkSlateGray.
Definition Color.h:95
static const Color Moccasin
Moccasin.
Definition Color.h:156
static const Color GhostWhite
GhostWhite.
Definition Color.h:107
static const Color Maroon
Maroon.
Definition Color.h:142
static const Color Fuchsia
Fuchsia.
Definition Color.h:105
static const Color Crimson
Crimson.
Definition Color.h:79
static const Color Indigo
Indigo.
Definition Color.h:118
static const Color Magenta
Magenta.
Definition Color.h:141
static const Color Yellow
Yellow.
Definition Color.h:203
static const Color Sienna
Sienna.
Definition Color.h:186
static const Color LightGoldenrod
LightGoldenrod.
Definition Color.h:128
static const Color RebeccaPurple
RebeccaPurple.
Definition Color.h:177
static const Color PapayaWhip
PapayaWhip.
Definition Color.h:169
static const Color OrangeRed
OrangeRed.
Definition Color.h:163
static const Color Azure
Azure.
Definition Color.h:64
static const Color White
White.
Definition Color.h:201
bool operator!=(const Color &color) const
Determines if two colors are not equal.
Definition Color.cpp:205
static const Color SlateGray
SlateGray.
Definition Color.h:190
static const Color Coral
Coral.
Definition Color.h:76
static const Color Silver
Silver.
Definition Color.h:187
static const Color RosyBrown
RosyBrown.
Definition Color.h:179
static const Color Violet
Violet.
Definition Color.h:199
static const Color OldLace
OldLace.
Definition Color.h:159
static const Color DodgerBlue
DodgerBlue.
Definition Color.h:101
static const Color MediumAquamarine
MediumAquamarine.
Definition Color.h:144
static const Color HotPink
HotPink.
Definition Color.h:116
static const Color LightSlateGray
LightSlateGray.
Definition Color.h:135
static const Color MintCream
MintCream.
Definition Color.h:154
static const Color Tan
Tan.
Definition Color.h:194
static const Color RoyalBlue
RoyalBlue.
Definition Color.h:180
static const Color Bisque
Bisque.
Definition Color.h:66
static const Color LemonChiffon
LemonChiffon.
Definition Color.h:124
static const Color BlueViolet
BlueViolet.
Definition Color.h:70
static const Color DarkGray
DarkGray.
Definition Color.h:84
static const Color Cyan
Cyan.
Definition Color.h:80
static const Color Linen
Linen.
Definition Color.h:140
static const Color Gainsboro
Gainsboro.
Definition Color.h:106
static float Lerp(float start, float end, float value)
Linearly interpolate between two values.
Definition MathUtil.cpp:26
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition Animation.cpp:18