This website works better with JavaScript.
Explore
Help
Sign In
ic
/
magnum
mirror of
https://github.com/mosra/magnum.git
Watch
6
Star
0
Fork
You've already forked magnum
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
827
Commits
21
Branches
19
Tags
70 MiB
Tree:
e99a63f38e
apple-crashy-msaa-default-framebuffer
audio-import
catastrophic-cross
chainsaw-surgery
dpi-change-events
euler-xxx
findsdl-include-root
gltestlib-symbol-duplication
gpu-preference
inverted-ranges
ktx1-detection
master
meshdata-cereal-killer
mousecapture
multiwindow
next
sceneconverter
scenedata-optimizations
simd
vectorfields
zerocopy
snapshot-2013-08
snapshot-2013-10
snapshot-2014-01
snapshot-2014-01-compatibility
snapshot-2014-06
snapshot-2014-06-compatibility
snapshot-2015-05
snapshot-2015-05-compatibility
v2013.08
v2013.10
v2014.01
v2014.06
v2015.05
v2018.02
v2018.04
v2018.10
v2019.01
v2019.10
v2020.06
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e99a63f38e'
${ noResults }
magnum
/
src
/
Test
/
CMakeLists.txt
3 lines
90 B
Raw
Normal View
History
Unescape
Escape
Added Color3 and Color4 classes with HSV conversion. They can be used for both floating-point (normalized) and integral (denormalized) representation and support conversion between them. HSV conversion is done always using floating-point types. Getters for RGB(A) were removed from Vector3 and Vector4, they are now part of Color3 and Color4. Because of this, Framebuffer now accepts Color instead of Vector.
14 years ago
corrade_add_test2
(
ColorTest
ColorTest.cpp
)
Moved swizzle() functions to root namespace. They aren't much useful in Math namespace and here it allows to handle also Color3/Color4 types. Moreover all RGBA component names were removed from Math namespace, so it would be inconsistent to have them there only in swizzle() functions.
14 years ago
corrade_add_test2
(
SwizzleTest
SwizzleTest.cpp
)