From 86fd4a2a9aa18b4dbe8b3688849f7ef81d54f27c Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 29 Apr 2024 21:45:01 -0400 Subject: [PATCH] inline make color --- CMakeLists.txt | 2 +- include/blt/math/vectors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa617b6..57c7d02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/include/blt/math/vectors.h b/include/blt/math/vectors.h index 35796ae..160b60d 100644 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -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}; }