Compare commits
1 Commits
dev/server
...
view_asset
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
def68f30be |
@@ -28,10 +28,13 @@ public enum Asset {
|
||||
private final String diffPath;
|
||||
private final float size;
|
||||
|
||||
private static final String MODEL_FILETYPE = ".j3o";
|
||||
private static final String DIFFUSE_EXT = "_diff.png";
|
||||
|
||||
Asset(){
|
||||
String folderFileName = "./" + name() + "/" + name();
|
||||
this.modelPath = folderFileName + ".j3o";
|
||||
this.diffPath = folderFileName + "_diff.png";
|
||||
this.modelPath = folderFileName + MODEL_FILETYPE;
|
||||
this.diffPath = folderFileName + DIFFUSE_EXT;
|
||||
this.size = 1f;
|
||||
}
|
||||
|
||||
@@ -43,8 +46,8 @@ public enum Asset {
|
||||
|
||||
Asset(float size){
|
||||
String folderFileName = "./" + name() + "/" + name();
|
||||
this.modelPath = folderFileName + ".j3o";
|
||||
this.diffPath = folderFileName + "_diff.png";
|
||||
this.modelPath = folderFileName + MODEL_FILETYPE;
|
||||
this.diffPath = folderFileName + DIFFUSE_EXT;
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user