Documentation
¶
Index ¶
- type Block
- type Entity
- type Hunter
- type Level
- type Matrix
- type Object
- type Prey
- type Quarry
- type Spawn
- type Steerer
- type Vector
- func Avoid(s Steerer, spheres []Entity, length float32) Vector
- func Contain(s Steerer, leftTopBack Vector, rightBottomFront Vector, futureUpdates float32, ...) Vector
- func Flee(s Steerer, target Vector) Vector
- func Pursuit(s Steerer, q Quarry, futureUpdates float32) Vector
- func Seek(s Steerer, target Vector) Vector
- func Wander(s Steerer, sphere float32, orientation Matrix) Vector
- func (v Vector) Clone() Vector
- func (v Vector) Cross(w Vector) Vector
- func (v Vector) Distance(other Vector) float32
- func (v Vector) DividedBy(s float32) Vector
- func (v Vector) Dot(other Vector) float32
- func (v Vector) Equals(w Vector, epsilon float64) bool
- func (v Vector) Hadamard(w Vector) Vector
- func (v Vector) Len() float32
- func (v Vector) Minus(w Vector) Vector
- func (v Vector) Mult(s float32) Vector
- func (gradient Vector) Normal(point Vector, t float32) Vector
- func (v Vector) Normalize() Vector
- func (v Vector) Plus(w Vector) Vector
- func (v Vector) Project(u Vector) float32
- func (v Vector) Trunc(limit float32) Vector
- type Vehicle
- func (v *Vehicle) Forward() Vector
- func (v *Vehicle) MaxSpeed() float32
- func (v *Vehicle) Move(steering_direction Vector)
- func (v *Vehicle) Position() Vector
- func (v *Vehicle) Radius() float32
- func (v *Vehicle) Side() Vector
- func (v *Vehicle) Up() Vector
- func (v *Vehicle) Velocity() Vector
- func (v *Vehicle) X() float32
- func (v *Vehicle) Y() float32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hunter ¶
type Hunter struct {
*Vehicle
// contains filtered or unexported fields
}
func MakeHunter ¶
type Level ¶
Click to show internal directories.
Click to hide internal directories.