inline make color

v1
Brett 2024-04-29 21:45:01 -04:00
parent 69e6a505d6
commit 86fd4a2a9a
2 changed files with 2 additions and 2 deletions

View File

@ -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.13) set(BLT_VERSION 0.16.14)
set(BLT_TEST_VERSION 0.0.1) set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -418,7 +418,7 @@ namespace blt
using color4 = vec4; using color4 = vec4;
using color3 = vec3; 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}; return color4{r, g, b};
} }