SetLinearDecay sets the linear decay factor as a function of the distance
(decay float32)
| 72 | |
| 73 | // SetLinearDecay sets the linear decay factor as a function of the distance |
| 74 | func (lp *Point) SetLinearDecay(decay float32) { |
| 75 | |
| 76 | lp.udata.linearDecay = decay |
| 77 | } |
| 78 | |
| 79 | // LinearDecay returns the current linear decay factor |
| 80 | func (lp *Point) LinearDecay() float32 { |