|
|
|
@ -30,7 +30,6 @@ public class Assets3D {
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < sails.length; i++){
|
|
|
|
for (int i = 0; i < sails.length; i++){
|
|
|
|
String path = String.format("assets/Sails/V1.5 Sail_%06d.obj", i + 1);
|
|
|
|
String path = String.format("assets/Sails/V1.5 Sail_%06d.obj", i + 1);
|
|
|
|
System.out.println(path);
|
|
|
|
|
|
|
|
URL asset = Assets3D.class.getClassLoader().getResource(path);
|
|
|
|
URL asset = Assets3D.class.getClassLoader().getResource(path);
|
|
|
|
objModelImporter.read(asset);
|
|
|
|
objModelImporter.read(asset);
|
|
|
|
if (objModelImporter.getImport().length > 0) {
|
|
|
|
if (objModelImporter.getImport().length > 0) {
|
|
|
|
|