Something went wrong on our end
-
Ansgar Philippsen authored
The Color class now keeps track of RGB and HSV in preparation of better HSV use, e.g. HSV based gradients. The interface has been extended, and parts of the old interface have been deprecated (by means of in-source comments, not yet as messages when using it); this applies to both C++ and Python. Instead of gfx.Color() use the factory functions gfx.RGB(r,g,b), gfx.RGBA(r,g,b,a), gfx.HSV(h,s,v) and gfx.HSVA(h,s,v,a). See also gfx/color.hh for in-source doc
Ansgar Philippsen authoredThe Color class now keeps track of RGB and HSV in preparation of better HSV use, e.g. HSV based gradients. The interface has been extended, and parts of the old interface have been deprecated (by means of in-source comments, not yet as messages when using it); this applies to both C++ and Python. Instead of gfx.Color() use the factory functions gfx.RGB(r,g,b), gfx.RGBA(r,g,b,a), gfx.HSV(h,s,v) and gfx.HSVA(h,s,v,a). See also gfx/color.hh for in-source doc
CMakeLists.txt 259 B
set(OST_GFX_UNIT_TESTS
tests.cc
test_gfx_node.cc
test_color.cc
test_gfx.py
)
if (ENABLE_IMG)
list(APPEND OST_GFX_UNIT_TESTS test_map_octree.cc)
endif()
ost_unittest(MODULE gfx
SOURCES "${OST_GFX_UNIT_TESTS}"
LINK ost_io)