threejs-math
TypeScript icon, indicating that this package has built-in type declarations

0.147.0 • Public • Published

Stand-alone TypeScript version of three.js math

This package is a standalone version of three.js (r147) math classes with TypeScript support and integrated TSdoc documentation.

  • Box2
  • Box3
  • Color
  • Cylindrical
  • Euler
  • Interpolant
    • CubicInterpolant
    • DiscreteInterpolant
    • LinearInterpolant
    • QuaternionInterpolant
  • Line3
  • MathUtils
  • Matrix (interface)
  • Matrix3
  • Matrix4
  • Plane
  • Quaternion
  • Ray
  • Sphere
  • Spherical
  • Triangle
  • Vector (interface)
  • Vector2
  • Vector3
  • Vector4

API Documentation

The classes in TSDoc format are available here.

History

This module started as a fork of three-math-ts which has been dormant for some time. After extending that project and PR's going unaddressed I've moved on and started a series of focused threejs based modules such as this threejs-math package.

Package Sidebar

Install

npm i threejs-math

Weekly Downloads

170

Version

0.147.0

License

MIT

Unpacked Size

470 kB

Total Files

40

Last publish

Collaborators

  • ros2jsguy