sync: user's Lity3D_source.zip changes

- Engine core: improved initialization and lifecycle
- Renderer: camera and rendering pipeline updates
- Editor: updated editor code
- Window: improved window handling
- Demo/main.c: scene demo with AssetManager + scene loading
- build.bat: updated build script
- 11 files modified from user's manual edits
This commit is contained in:
shuiyu1123 committed 2026-07-12 12:13:50 +08:00
1 parent 0669d102ce
commit 7a0533d21a
11 files changed
+707 -378

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ void camera_move_right(Camera* camera, float distance) {
Vec3 forward, right;
vec3_sub(&camera->target, &camera->position, &forward);
vec3_normalize(&forward, &forward);
vec3_cross(&forward, &camera->up, &right);
vec3_cross(&camera->up, &forward, &right);
vec3_normalize(&right, &right);
Vec3 move;
vec3_scale(&right, distance, &move);