UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

16 lines (15 loc) 249 B
class RaycastResult { entity; point; normal; hitFraction; constructor(entity, point, normal, hitFraction) { this.entity = entity; this.point = point; this.normal = normal; this.hitFraction = hitFraction; } } export { RaycastResult };