9d95220073
[CORE][FIX] Hit test fix
...
- Add critical debug logs
- Change transforming ray to local space to transforming vex to world space (because of scaling)
- Fix not updating bounding box causing hit test failure
2022-12-18 18:07:18 +08:00
98a1321af2
[CORE][ADD] Hit Test
2022-12-18 17:30:46 +08:00
0d4a22f0ce
[CORE][ADD] Add hit API to Mesh
...
- Moller Trumbore algorithm is used
2022-12-18 16:08:35 +08:00
ayachi3
f26402461a
add function to provide interface
2022-12-16 23:05:08 +08:00
ayachi3
759f4ad688
add shininess attribute in mesh class
2022-12-16 16:03:53 +08:00
955c8da52e
Update mesh class
...
- set vertex attribute on setup mesh
- use new API of shader.setUniform
2022-12-13 12:29:54 +08:00
7761387403
Rename functions
2022-12-12 22:51:59 +08:00
0be2b379a2
Fix inline functions
2022-12-12 22:20:59 +08:00
04ad073263
Implement shader and mesh classes
2022-12-12 21:23:57 +08:00
66997698c8
Create empty source files
2022-12-12 15:20:47 +08:00