Method | Description | |
---|---|---|
getAffectedAverageLightPos ( |
returns the weighted average position of any lights within range or the original position passed in if everything is further than maxDistance
|
|
sqrDistanceBetweenVectors ( |
Method | Description | |
---|---|---|
Awake ( ) : void |
public getAffectedAverageLightPos ( |
||
position | Position. | |
maxSqrDistance | float | |
return |
public sqrDistanceBetweenVectors ( |
||
a | ||
b | ||
return | float |