summaryrefslogtreecommitdiff
path: root/frontend/2d/_collisions/rectangle_line
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/2d/_collisions/rectangle_line')
-rwxr-xr-xfrontend/2d/_collisions/rectangle_line/dist/output.wasmbin50544 -> 50694 bytes
-rw-r--r--frontend/2d/_collisions/rectangle_line/main.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/frontend/2d/_collisions/rectangle_line/dist/output.wasm b/frontend/2d/_collisions/rectangle_line/dist/output.wasm
index 41e549e..dd44607 100755
--- a/frontend/2d/_collisions/rectangle_line/dist/output.wasm
+++ b/frontend/2d/_collisions/rectangle_line/dist/output.wasm
Binary files differ
diff --git a/frontend/2d/_collisions/rectangle_line/main.cpp b/frontend/2d/_collisions/rectangle_line/main.cpp
index 39cb079..9ccbc7e 100644
--- a/frontend/2d/_collisions/rectangle_line/main.cpp
+++ b/frontend/2d/_collisions/rectangle_line/main.cpp
@@ -67,7 +67,7 @@ struct Rectangle {
float32 height = 0.f;
void load(OrthographicRenderer* renderer, Vector4 inColor, float32 inWidth, float32 inHeight) {
- color = inColor;
+ color = inColor.toNormalizedColor();
width = inWidth;;
height = inHeight;