Documentation ¶
Index ¶
- func LengthSquared(v mgl32.Vec3) float32
- type AABB
- func (a AABB) Grow(x, y, z float32) AABB
- func (a AABB) Intersects(o AABB) bool
- func (a AABB) IntersectsLine(origin, dir mgl32.Vec3) (mgl32.Vec3, bool)
- func (a AABB) MoveOutOf(o AABB, dir mgl32.Vec3) AABB
- func (a AABB) RotateX(an, ox, oy, oz float32) AABB
- func (a AABB) RotateY(an, ox, oy, oz float32) AABB
- func (a AABB) Shift(x, y, z float32) AABB
- func (a AABB) String() string
- type Frustum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LengthSquared ¶
Types ¶
type Frustum ¶
type Frustum struct {
// contains filtered or unexported fields
}
func NewFrustum ¶
func NewFrustum() *Frustum
func (*Frustum) IsAABBInside ¶
func (*Frustum) IsSphereInside ¶
func (*Frustum) SetPerspective ¶
Click to show internal directories.
Click to hide internal directories.