Documentation ¶
Index ¶
- type Vec3d
- func (self Vec3d) Added(other Vec3d) Vec3d
- func (self Vec3d) Cross(other Vec3d) Vec3d
- func (self Vec3d) DistanceTo(other *Vec3d) float32
- func (self Vec3d) Dot(other Vec3d) float32
- func (self *Vec3d) Length() float32
- func (self Vec3d) Normalized() Vec3d
- func (self Vec3d) Scaled(scalar float32) Vec3d
- func (self Vec3d) Subtracted(other Vec3d) Vec3d
- type Vec3dA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vec3d ¶
type Vec3d struct {
X, Y, Z float32
}
func MakeDirectionVector ¶
func MakeReflect ¶
func (Vec3d) DistanceTo ¶
func (Vec3d) Normalized ¶
func (Vec3d) Subtracted ¶
Click to show internal directories.
Click to hide internal directories.