|
@@ -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
|
|
@@ -60,6 +60,8 @@ extern "C" {
|
|
|
|
|
|
shape->addPoint(vect);
|
|
|
}
|
|
|
+
|
|
|
+ shape->optimizeConvexHull();
|
|
|
|
|
|
return reinterpret_cast<jlong>(shape);
|
|
|
}
|