inline make color
parent
69e6a505d6
commit
86fd4a2a9a
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
include(cmake/color.cmake)
|
||||
|
||||
set(BLT_VERSION 0.16.13)
|
||||
set(BLT_VERSION 0.16.14)
|
||||
set(BLT_TEST_VERSION 0.0.1)
|
||||
|
||||
set(BLT_TARGET BLT)
|
||||
|
|
|
@ -418,7 +418,7 @@ namespace blt
|
|||
using color4 = vec4;
|
||||
using color3 = vec3;
|
||||
|
||||
color4 make_color(float r, float g, float b)
|
||||
inline color4 make_color(float r, float g, float b)
|
||||
{
|
||||
return color4{r, g, b};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue