diff options
author | sanine <sanine.not@pm.me> | 2023-05-18 22:23:42 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-05-18 22:23:42 -0500 |
commit | eafff1e04eb7f6a63818db035d2c6a277c5c364c (patch) | |
tree | c32d7bb4fde9408539d13ce43dc0ff4824765412 /honey/ecs/render.lua | |
parent | 4b2507b2f30d50c8673f33179c2b537ac83da3bf (diff) |
visualize collisionsrefactor
Diffstat (limited to 'honey/ecs/render.lua')
-rw-r--r-- | honey/ecs/render.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/honey/ecs/render.lua b/honey/ecs/render.lua index 1c38692..8ee6e8f 100644 --- a/honey/ecs/render.lua +++ b/honey/ecs/render.lua @@ -123,6 +123,7 @@ local function drawGeoms(db, view, projection) drawMesh(program, uniforms, matrices, vao, count) elseif tbl.class == "ray" then m:scale(Vec3{0.001, 0.001, tbl.length}) + :translate(Vec3{0, 0, 1/2}) local vao, count = mesh.get("builtin.cube", 1) drawMesh(program, uniforms, matrices, vao, count) end |