Commit Graph

10 Commits

Author SHA1 Message Date
92689fbf21 Fixes plane triangle generation
Corrects the order of vertices when constructing triangles
for the plane primitive, addressing a potential winding order
issue that could lead to incorrect surface normals and rendering.
2025-08-29 00:11:31 +03:00
fe1ff12f74 Simplifies plane creation logic
Refactors the plane creation function to directly compute the triangle vertices, removing unnecessary intermediate variables. This results in more concise and readable code.
2025-08-28 23:57:22 +03:00
b19a4de904 Adds plane primitive generation
Implements a function to generate a plane primitive from two vertices, a direction vector, and a size, returning an array of two triangles.
2025-08-28 23:18:36 +03:00
ba2c60389f added more noexcept 2025-05-05 01:46:50 +03:00
4406e1e461 changed code style 2025-05-03 20:31:59 +03:00
01b7256e98 improved cmake, removed useless cmake files 2025-04-30 21:26:25 +03:00
13753cab81 improved line trace and box primitive 2025-04-18 13:56:08 +03:00
88f4db6caf switched to polygons 2025-04-18 12:34:24 +03:00
80e3cadb67 added ratio param 2025-04-18 01:33:47 +03:00
5ff57f9ffa added box 2025-04-18 00:43:46 +03:00