Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Triangle

Hierarchy

  • Triangle

Index

Constructors

constructor

Properties

a

a: Vector3 = new Vector3()

b

b: Vector3 = new Vector3()

c

c: Vector3 = new Vector3()

Static pool

pool: ObjectPool<Triangle> = new ObjectPool(Triangle, 64)

Methods

contains

  • contains(p: Vector3, tolerance?: undefined | number): boolean

getBarycentricCoords

getClosestPoint

set

Static fromPool