新增math库

This commit is contained in:
YHH
2025-08-10 16:00:02 +08:00
parent 2783448de5
commit 3b9ae4f384
20 changed files with 5208 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/**
* ECS Framework Math Library
*
* 2D数学库为游戏开发提供完整的数学工具
* - 基础数学类(向量、矩阵、几何形状)
* - 碰撞检测算法
* - 动画插值和缓动函数
* - 数学工具函数
*/
// 核心数学类
export { Vector2 } from './Vector2';
export { Matrix3 } from './Matrix3';
export { Rectangle } from './Rectangle';
export { Circle } from './Circle';
// 数学工具
export { MathUtils } from './MathUtils';
// 碰撞检测
export * from './Collision';
// 动画和插值
export * from './Animation';