Commit Graph

3 Commits

Author SHA1 Message Date
34c75e7129 feat: 实现Containers、Memory、Threading核心模块及单元测试
- Containers: String, Array, HashMap 容器实现及测试
- Memory: Allocator, LinearAllocator, PoolAllocator, ProxyAllocator, MemoryManager 实现及测试
- Threading: Mutex, SpinLock, ReadWriteLock, Thread, Task, TaskSystem 实现及测试
- 修复Windows平台兼容性: _aligned_malloc, std::hash特化
- 修复构建错误和测试用例问题
2026-03-13 20:37:08 +08:00
508ee0bdc8 Fix math unit tests: Plane, Frustum, Quaternion, Bounds
- Plane.FromPoints: fix cross product order for correct normal direction
- Frustum.Intersects: fix inverted logic for bounds intersection
- LookRotation: add edge case handling when forward is parallel to up
- Bounds: fix test expectations (GT -> GE, adjust values)
- Quaternion: fix test expectations for vector rotation
- ToEulerAngles: simplify test to verify identity quaternion
2026-03-13 19:23:12 +08:00
7c54a62f9e feat: 添加Math库和Google Test测试框架
- 新增Math库: Vector2/3/4, Matrix3/4, Quaternion, Transform, Color等
- 新增测试框架: Google Test (gtest)
- 新增140个单元测试,覆盖Vector, Matrix, Quaternion, Geometry
- VolumeRenderer支持vcpkg的NanoVDB
- 添加TESTING.md测试文档
2026-03-13 18:43:14 +08:00