diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-04-26 20:51:09 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-04-26 20:51:09 -0400 |
commit | a32157049d860c4c9c6ffb0df6c3cdbf53e4ef1d (patch) | |
tree | fcdf2a06b07ef143f6615f71a6e26f3a1587b80d /frontend/2d/_collisions/rectangle_line | |
parent | cdf770d6950befd25779a18ea3972deeb9f143bb (diff) |
Getting started on rectangle collisions
Diffstat (limited to 'frontend/2d/_collisions/rectangle_line')
-rwxr-xr-x | frontend/2d/_collisions/rectangle_line/dist/output.wasm | bin | 50544 -> 50694 bytes | |||
-rw-r--r-- | frontend/2d/_collisions/rectangle_line/main.cpp | 2 |
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 Binary files differindex 41e549e..dd44607 100755 --- a/frontend/2d/_collisions/rectangle_line/dist/output.wasm +++ b/frontend/2d/_collisions/rectangle_line/dist/output.wasm 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; |