Commit graph

14 commits

Author SHA1 Message Date
5c9cd56884 Impl. shader for SparkEffect
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 25s
The shader gives the "sparks" a white center.
Drawing sparks now generates a flat "circle" (facing the camera) instead
of drawing a 3D sphere.
2023-08-31 17:02:36 +09:00
3c944d6f8e Impl. randomized effect colors on walker hack
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 26s
Also, minor fixes/refactorings.
2023-08-31 15:26:24 +09:00
4755b53deb Rework electricity effect (again)
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 25s
Should be more efficient as a quad is generated instead of a cylinder
per draw.
2023-08-25 18:29:18 +09:00
dd678f12ba Split off code into 3d_helpers function
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 17:04:51 +09:00
d4850f99bb Minor fixes to 3d_helpers.cc
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-18 13:27:49 +09:00
64c5bcd1bc Refactorings, cleanup
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-11 19:31:03 +09:00
12bbfe9484 Impl. roaming walkers
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 20s
2023-08-11 12:38:55 +09:00
ba241417a2 Use Raylib's Ray/Triangle collision fn
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 14:00:54 +09:00
0467c945b5 Refactor duplicate code into function 2023-08-09 12:22:33 +09:00
0d36747031 Add helper fn to calc. ray/plane intersection
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 14s
2023-08-07 21:39:59 +09:00
4fd9ce3b33 Implement click/touch ray-tracing onto surface
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
2023-08-07 14:11:58 +09:00
fe59f09af5 Begin work on environment
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-07 12:54:23 +09:00
f0ce6520f4 Fixes
Rotation Matrices should now match the "right-handled rule".

Fixes related to weirdness using the column-major ordered Matrix struct.
2023-08-04 11:42:11 +09:00
c99407a474 Impl 3d_helpers, unit tests, basic 3D demo
3d_helpers facilitate usage of transformation matrices.

Unit tests ensure the 3d_helpers are correct.

Currently, the program rotates a Cube mesh in x, y, and z axes.
2023-08-02 19:59:06 +09:00