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