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