Benjamin ‘Touky’ Huet
|
a89dac5c30
|
Fixed some stuff and added some small tweaks
|
10 years ago |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
10 years ago |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
10 years ago |
Sam Hocevar
|
cdfb4e7abf
|
math: fix a few compilation warnings.
|
10 years ago |
Sam Hocevar
|
8ede168e62
|
color: add some vec4 constants for usual colour names.
|
11 years ago |
Sam Hocevar
|
10272731ee
|
color: fix issues in color to string conversions.
|
11 years ago |
Sam Hocevar
|
547fe6a908
|
color: utility functions to convert vec3 colors to hex strings.
|
11 years ago |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
11 years ago |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
12 years ago |
Sam Hocevar
|
99b0874652
|
color: simplify CIEDE2000 distance code.
|
12 years ago |
Sam Hocevar
|
b12c16448a
|
color: fix a mistake in the CIEDE2000 color-difference formula.
|
12 years ago |
Sam Hocevar
|
a5ba03b405
|
color: unit test data for the CIEDE2000 color-difference formula.
|
12 years ago |
Sam Hocevar
|
eae9dae863
|
color: fix typo in float table.
|
12 years ago |
Sam Hocevar
|
d8577e0ec7
|
color: move the CIEDE2000 distance code into the C++ file and
reorganise the CIE-1931 and CIE-1964 tables.
|
12 years ago |
Sam Hocevar
|
4e678e2cd0
|
color: linear interpolation for the wavelength to colour function.
|
12 years ago |
Sam Hocevar
|
44f324a354
|
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
|
12 years ago |