finished ex. 13 + cleanup
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
import com.jme3.asset.AssetNotFoundException;
|
||||
import com.jme3.audio.AudioData;
|
||||
import com.jme3.audio.AudioNode;
|
||||
import com.jme3.math.Vector3f;
|
||||
import pp.util.Util;
|
||||
|
||||
import java.lang.System.Logger;
|
||||
import java.lang.System.Logger.Level;
|
||||
|
||||
public class JmeUtil {
|
||||
private JmeUtil(){ /* Do not initialize */ }
|
||||
private JmeUtil() { /* Do not initialize */ }
|
||||
|
||||
private static final Logger LOGGER = System.getLogger(Util.class.getName());
|
||||
|
||||
@@ -34,4 +35,8 @@ public static AudioNode loadSound(Application app, String name) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Vector3f mapToWorldCord(float x, float y) {
|
||||
return new Vector3f(y + 0.5f, 0, x + 0.5f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user