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