Documentation ¶
Overview ¶
Package tempest contains 3D models and formulas.
Index ¶
- Variables
- type C2Vector
- type C2iVector
- type C3Vector
- func (c3 C3Vector) C2() C2Vector
- func (c3 C3Vector) C4() C4Vector
- func (c3 C3Vector) Distance(oc3 C3Vector) float32
- func (c3 *C3Vector) Dot(oc3 C3Vector) float32
- func (c3 C3Vector) Encode(wr io.Writer) error
- func (c3 C3Vector) Mag() float32
- func (c3 *C3Vector) Multiply(a float32)
- func (c3 *C3Vector) Normalize()
- func (c3 *C3Vector) SquaredMag() float32
- func (c3 *C3Vector) Sub(oc3 C3Vector) C3Vector
- type C4Quaternion
- type C4QuaternionCompressed
- type C4Vector
- type CAaBox
- type CAaSphere
Constants ¶
This section is empty.
Variables ¶
View Source
var Infinity = math32.Inf(1)
Functions ¶
This section is empty.
Types ¶
type C3Vector ¶
func (*C3Vector) SquaredMag ¶
type C4Quaternion ¶
type C4Quaternion C4Vector
func (*C4Quaternion) DecodePacked ¶
func (cq *C4Quaternion) DecodePacked(reader io.Reader) error
func (*C4Quaternion) EncodePacked ¶
func (cq *C4Quaternion) EncodePacked(writer io.Writer) (err error)
func (*C4Quaternion) Pack ¶
func (cq *C4Quaternion) Pack() (raw C4QuaternionCompressed)
type C4QuaternionCompressed ¶
type C4QuaternionCompressed uint64
func (*C4QuaternionCompressed) Unpack ¶
func (c4 *C4QuaternionCompressed) Unpack() C4Quaternion
type C4Vector ¶
func ParseC4Vector ¶
Click to show internal directories.
Click to hide internal directories.