Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mesh ¶
Triangle Mesh Storage - Implements Collider Interface
func (*Mesh) Collision ¶
func (g *Mesh) Collision(P vector.Vec, V vector.Vec, dt float64, r float32) (vector.Vec, vector.Vec, vector.Vec, bool)
Collision checks for collision with underlying mesh Returns Normal, Barycentric Coords, Collision Point, Collision Bool
func (*Mesh) GenerateBoundaryParticles ¶
Generates particles in world space given the world space triangles
func (*Mesh) PrintNormals ¶
func (g *Mesh) PrintNormals()
Click to show internal directories.
Click to hide internal directories.