From 133728b64100292779df64436c51c61317f608f5 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 29 Apr 2024 21:46:32 -0400 Subject: [PATCH] make color no longer transparent --- 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 57c7d02..a5c98f6 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.14) +set(BLT_VERSION 0.16.15) 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 160b60d..cd03f7d 100644 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -420,7 +420,7 @@ namespace blt inline color4 make_color(float r, float g, float b) { - return color4{r, g, b}; + return color4{r, g, b, 1.0f}; } namespace vec_algorithm