ConstantForceField is a constant force field. It can be used to simulate surface gravity.
| 16 | // It can be used to simulate surface gravity. |
| 17 | // |
| 18 | type ConstantForceField struct { |
| 19 | force math32.Vector3 |
| 20 | } |
| 21 | |
| 22 | // NewConstantForceField creates and returns a pointer to a new ConstantForceField. |
| 23 | func NewConstantForceField(force *math32.Vector3) *ConstantForceField { |
nothing calls this directly
no outgoing calls
no test coverage detected