cgv
Loading...
Searching...
No Matches
named_colors.h
1#pragma once
2
3#include <array>
4
5#include <cgv/math/functions.h>
6
7#include "color.h"
8
10
11namespace cgv {
12namespace media {
13namespace colors {
14
15static const cgv::rgb black = { 0.0f, 0.0f, 0.0f };
16static const cgv::rgb blue = { 0.0f, 0.0f, 1.0f };
17static const cgv::rgb brown = { 0.3f, 0.1f, 0.0f };
18static const cgv::rgb cyan = { 0.0f, 1.0f, 1.0f };
19static const cgv::rgb gray = { 0.5f, 0.5f, 0.5f };
20static const cgv::rgb green = { 0.0f, 1.0f, 0.0f };
21static const cgv::rgb magenta = { 1.0f, 0.0f, 1.0f };
22static const cgv::rgb red = { 1.0f, 0.0f, 0.0f };
23static const cgv::rgb white = { 1.0f, 1.0f, 1.0f };
24static const cgv::rgb yellow = { 1.0f, 1.0f, 0.0f };
25
26} // namespace colors
27} // namespace media
28} // namespace cgv
this header is dependency free
Definition print.h:11