make color
parent
c8ce910fe1
commit
69e6a505d6
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
|
|
||||||
set(BLT_VERSION 0.16.12)
|
set(BLT_VERSION 0.16.13)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -415,6 +415,14 @@ namespace blt
|
||||||
using vec3 = vec3f;
|
using vec3 = vec3f;
|
||||||
using vec4 = vec4f;
|
using vec4 = vec4f;
|
||||||
|
|
||||||
|
using color4 = vec4;
|
||||||
|
using color3 = vec3;
|
||||||
|
|
||||||
|
color4 make_color(float r, float g, float b)
|
||||||
|
{
|
||||||
|
return color4{r, g, b};
|
||||||
|
}
|
||||||
|
|
||||||
namespace vec_algorithm
|
namespace vec_algorithm
|
||||||
{
|
{
|
||||||
static inline void findOrthogonalBasis(const vec3& v, vec3& v1, vec3& v2, vec3& v3)
|
static inline void findOrthogonalBasis(const vec3& v, vec3& v1, vec3& v2, vec3& v3)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 10368163ab1f4367d2f0685b5928b1c973ebd1ec
|
Subproject commit 7ef2e733416953b222851f9a360d7fc72d068ee5
|
Loading…
Reference in New Issue