Versions in this module Expand all Collapse all v0 v0.2.0 Aug 19, 2021 Changes in this version + type Intersect struct + Distance float32 + Index uint32 + Object core.INode + Point math32.Vector3 + type Raycaster struct + Far float32 + LinePrecision float32 + Near float32 + PointPrecision float32 + ViewMatrix math32.Matrix4 + func NewRaycaster(origin, direction *math32.Vector3) *Raycaster + func (rc *Raycaster) IntersectObject(inode core.INode, recursive bool) []Intersect + func (rc *Raycaster) IntersectObjects(inodes []core.INode, recursive bool) []Intersect + func (rc *Raycaster) RaycastLineStrip(l *graphic.LineStrip, intersects *[]Intersect) + func (rc *Raycaster) RaycastLines(l *graphic.Lines, intersects *[]Intersect) + func (rc *Raycaster) RaycastMesh(m *graphic.Mesh, intersects *[]Intersect) + func (rc *Raycaster) RaycastPoints(p *graphic.Points, intersects *[]Intersect) + func (rc *Raycaster) RaycastSprite(s *graphic.Sprite, intersects *[]Intersect) + func (rc *Raycaster) SetFromCamera(cam *camera.Camera, sx, sy float32) error v0.1.0 Mar 14, 2019 Changes in this version + func CheckConvex(g1, g2 *geometry.Geometry) bool + type Contact struct + Depth float32 + Normal math32.Vector3 + Point math32.Vector3 + type Matrix [][]bool + func NewMatrix() Matrix + func (m *Matrix) Get(i, j int) bool + func (m *Matrix) Reset() + func (m *Matrix) Set(i, j int, val bool)