diff options
| author | UsernameIsAReservedWord | 2015-02-26 19:27:32 +0100 |
|---|---|---|
| committer | UsernameIsAReservedWord | 2015-02-26 19:27:32 +0100 |
| commit | 69cf996ce60f9419922b0de4590b7ece7fa0a8be (patch) | |
| tree | b372af81ed41b956a65fc63ddb33c2089a5af3ed /servers/physics/shape_sw.h | |
| parent | 1d7337ba10ad593f0786d3e356cf0b05aa9be2b4 (diff) | |
| download | godot-69cf996ce60f9419922b0de4590b7ece7fa0a8be.tar.gz godot-69cf996ce60f9419922b0de4590b7ece7fa0a8be.tar.zst godot-69cf996ce60f9419922b0de4590b7ece7fa0a8be.zip | |
Diffstat (limited to 'servers/physics/shape_sw.h')
| -rw-r--r-- | servers/physics/shape_sw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/shape_sw.h b/servers/physics/shape_sw.h index cdb21556b..bcf8fbdc8 100644 --- a/servers/physics/shape_sw.h +++ b/servers/physics/shape_sw.h @@ -438,7 +438,7 @@ struct MotionShapeSW : public ShapeSW { } return support; } - virtual void get_supports(const Vector3& p_normal,int p_max,Vector3 *r_supports,int & r_amount) const {} + virtual void get_supports(const Vector3& p_normal,int p_max,Vector3 *r_supports,int & r_amount) const { r_amount=0; } bool intersect_segment(const Vector3& p_begin,const Vector3& p_end,Vector3 &r_result, Vector3 &r_normal) const { return false; } Vector3 get_moment_of_inertia(float p_mass) const { return Vector3(); } |
