From 7e8b5405873dc6d7feea59037fc3c61e8a0fbba8 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Wed, 2 Nov 2011 17:06:41 +0000 Subject: [PATCH] - put BindPoseTangent VertexBuffer.Type enum value at the end to not screw with ordinal values git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/core/com/jme3/scene/VertexBuffer.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/engine/src/core/com/jme3/scene/VertexBuffer.java b/engine/src/core/com/jme3/scene/VertexBuffer.java index 694b9b21d..e2279ac9a 100644 --- a/engine/src/core/com/jme3/scene/VertexBuffer.java +++ b/engine/src/core/com/jme3/scene/VertexBuffer.java @@ -140,17 +140,8 @@ public class VertexBuffer extends NativeObject implements Savable, Cloneable { * {@link Usage#CpuOnly}, and the buffer should be allocated * on the heap. */ - BindPoseNormal, - - /** - * Initial vertex tangents, used with animation. - * Should have the same format and size as {@link Type#Tangent}. - * If used with software skinning, the usage should be - * {@link Usage#CpuOnly}, and the buffer should be allocated - * on the heap. - */ - BindPoseTangent, - + BindPoseNormal, + /** * Bone weights, used with animation (4 floats). * If used with software skinning, the usage should be @@ -201,6 +192,15 @@ public class VertexBuffer extends NativeObject implements Savable, Cloneable { * Texture coordinate #8 */ TexCoord8, + + /** + * Initial vertex tangents, used with animation. + * Should have the same format and size as {@link Type#Tangent}. + * If used with software skinning, the usage should be + * {@link Usage#CpuOnly}, and the buffer should be allocated + * on the heap. + */ + BindPoseTangent, } /**