Skip to content

Commit

Permalink
fix for issue jMonkeyEngine#1037 (TestHoveringTank hull-shape perform…
Browse files Browse the repository at this point in the history
…ance issue)
  • Loading branch information
stephengold authored and riccardobl committed Apr 15, 2019
1 parent 9ba4037 commit 8cdfb46
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -60,6 +60,8 @@ extern "C" {

shape->addPoint(vect);
}

shape->optimizeConvexHull();

return reinterpret_cast<jlong>(shape);
}
Expand Down

0 comments on commit 8cdfb46

Please sign in to comment.