Loading...
Loading...
three.js math library: Vector2/3/4, Matrix3/4, Quaternion, Euler, Color, Box2/Box3, Sphere, Plane, Ray, Line3, Triangle, Frustum, Cylindrical/Spherical coords, MathUtils, and Interpolant base classes; addon math utilities such as OBB, Octree, Capsule, ConvexHull, MeshSurfaceSampler. Use for transforms, intersection tests, and spatial queries; for keyframe interpolation tied to AnimationMixer use threejs-animation; for picking implementation use threejs-objects with Raycaster.
npx skill4agent add full-stack-skills/threejs-skills threejs-mathapplyQuaternionlookAtBox3SphereRayPlaneFrustum| Need | Skill |
|---|---|
| Raw math types | threejs-math |
| threejs-objects |
| QuaternionKeyframeTrack playback | threejs-animation |
updateMatrixWorldBox3().setFromObject(object)ray.intersectBoxsphere.containsPointOctreeOBBColorMeshSurfaceSampler| Docs section | Representative links |
|---|---|
| Math | https://threejs.org/docs/Vector3.html |
| Math | https://threejs.org/docs/Matrix4.html |
| Math | https://threejs.org/docs/Quaternion.html |
| Math | https://threejs.org/docs/Ray.html |
OctreeOBBVector3Matrix4QuaternionAnimationMixerRaycaster