c1d8d8ed42
[CORE][ADD] Renderable add API
...
- getters
- position
- rotation
- scaleVal
- normal
- disposeLight
2022-12-19 17:09:12 +08:00
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
308dd81f06
[CORE][CHG] Change boundary APIs
...
- Add 'updateBoundary' func to update boundary after transformation
- Add 'hit' to get the hit record of a ray
2022-12-18 16:07:58 +08:00
032d346151
[CORE][ADD] Add light API & function to renderable
2022-12-18 10:03:17 +08:00
cc9ae662a8
Merge lighting
2022-12-17 15:03:52 +08:00
bef49b7499
Change variable names
2022-12-17 13:19:55 +08:00
849da430e9
Remove invalid code units
2022-12-17 13:09:52 +08:00
Linloir
b87f2d04d9
Merge branch 'master' into ui_dev
2022-12-17 13:03:04 +08:00
Linloir
468798b2e2
Update renderable.cpp
2022-12-17 12:05:23 +08:00
2fd1d6db24
[CORE][ADD] Enable cross context model transferring
...
- Reload texture on another context
- Copy meshes
- [BUG] memory leak (not fixed yet)
2022-12-17 11:41:13 +08:00
ayachi3
759f4ad688
add shininess attribute in mesh class
2022-12-16 16:03:53 +08:00
ayachi3
cef83fe19e
fix bug and add test code
2022-12-13 20:09:50 +08:00
ayachi3
13bd34973c
implement check_boundary
2022-12-13 19:02:44 +08:00
ayachi3
5ec0a5718e
modify constructor of renderable and update skeleton
2022-12-13 17:23:11 +08:00
a49f215928
Set matrix when rendering
2022-12-13 13:51:03 +08:00
0be2b379a2
Fix inline functions
2022-12-12 22:20:59 +08:00
d57a1514ee
Implement renderable class
2022-12-12 21:29:45 +08:00
66997698c8
Create empty source files
2022-12-12 15:20:47 +08:00