Add existing to tracked
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import defined from "../Core/defined.js";
|
||||
import SphereGeometry from "../Core/SphereGeometry.js";
|
||||
|
||||
function createSphereGeometry(sphereGeometry, offset) {
|
||||
if (defined(offset)) {
|
||||
sphereGeometry = SphereGeometry.unpack(sphereGeometry, offset);
|
||||
}
|
||||
return SphereGeometry.createGeometry(sphereGeometry);
|
||||
}
|
||||
export default createSphereGeometry;
|
||||
Reference in New Issue
Block a user