* Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
37aa17302f
commit
fbf29530f3
@ -46,6 +46,7 @@ import com.jme3.scene.mesh.IndexBuffer;
|
||||
import com.jme3.util.BufferUtils;
|
||||
import java.nio.*;
|
||||
|
||||
@Deprecated
|
||||
public class FloatToFixed {
|
||||
|
||||
private static final float shortSize = Short.MAX_VALUE - Short.MIN_VALUE;
|
||||
@ -54,6 +55,7 @@ public class FloatToFixed {
|
||||
private static final float byteSize = Byte.MAX_VALUE - Byte.MIN_VALUE;
|
||||
private static final float byteOff = (Byte.MAX_VALUE + Byte.MIN_VALUE) * 0.5f;
|
||||
|
||||
@Deprecated
|
||||
public static void convertToFixed(Geometry geom, Format posFmt, Format nmFmt, Format tcFmt){
|
||||
geom.updateModelBound();
|
||||
BoundingBox bbox = (BoundingBox) geom.getModelBound();
|
||||
|
Loading…
x
Reference in New Issue
Block a user