UNPKG

cannon-es-control

Version:

A lightweight 3D physics engine written in JavaScript with control system tools

17 lines (14 loc) 254 B
import { Pool } from '../utils/Pool' import { Vec3 } from '../math/Vec3' /** * Vec3Pool */ export class Vec3Pool extends Pool { type = Vec3 /** * Construct a vector */ constructObject(): Vec3 { return new Vec3() } }