Struct VO2

Package

Public Methods

Draw (circleCenter, drawingOffset)
Public
Gradient (p, weight)

Gradient and value of the cost function of this VO.

Public
ScaledGradient (p, weight)

Gradient and value of the cost function of this VO.

Public
VO2 (center, offset, radius, inverseDt, inverseDeltaTime)

Creates a VO for avoiding another agent.

Public

Public Static Methods

Normalize (v, length)
Public Static
SignedDistanceFromLine (a, dir, p)

Returns a negative number of if p lies on the left side of a line which with one point in a and has a tangent in the direction of dir.

Public Static

Public Variables

halfPlaneOffsets
Public
n1
Public
n2
Public
n3
Public
n4
Public
weightBonus
Public
weightFactor
Public