0.2.1 • Published 4 years ago
@shed/math v0.2.1
@shed/math
@shed/math
尝试兼顾效率与 API 易用性数学库
安装
npm install @shed/math
或使用 yarn
yarn add @shed/math
文档
2D相关
3D相关
- Vector3D 施工中
- Matrix3D 施工中
- Quaternion 施工中
其他
通用方法
以上类通过实现
ICommonMethod<T>
接口,都实现了以下通用方法。reset()
重新赋值equal()
判断是否相等copyFrom()
从目标复制clone()
克隆一个新对象toString()
返回字符串表示