Searched refs:weightsFloatData (Results 1 – 2 of 2) sorted by relevance
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
D | ArmatureModifier.java | 278 …FloatBuffer weightsFloatData = BufferUtils.createFloatBuffer(vertexListSize * MAXIMUM_WEIGHTS_PER_… in getBoneWeightAndIndexBuffer() local 310 weightsFloatData.put(index * MAXIMUM_WEIGHTS_PER_VERTEX + weightIndex, weight); in getBoneWeightAndIndexBuffer() 318 weightsFloatData.put(index * MAXIMUM_WEIGHTS_PER_VERTEX, 1.0f); in getBoneWeightAndIndexBuffer() 334 weightsFloatData.put(index * MAXIMUM_WEIGHTS_PER_VERTEX, 1.0f); in getBoneWeightAndIndexBuffer() 340 bonesGroups[0] = this.endBoneAssigns(vertexListSize, weightsFloatData); in getBoneWeightAndIndexBuffer() 342 verticesWeights.setupData(Usage.CpuOnly, bonesGroups[0], Format.Float, weightsFloatData); in getBoneWeightAndIndexBuffer() 358 private int endBoneAssigns(int vertCount, FloatBuffer weightsFloatData) { in endBoneAssigns() argument 360 weightsFloatData.rewind(); in endBoneAssigns() 362 …float w0 = weightsFloatData.get(), w1 = weightsFloatData.get(), w2 = weightsFloatData.get(), w3 = … in endBoneAssigns() 376 weightsFloatData.position(weightsFloatData.position() - 4); in endBoneAssigns() [all …]
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | MeshLoader.java | 99 private FloatBuffer weightsFloatData; field in MeshLoader 142 weightsFloatData = null; in startDocument() 316 weightsFloatData = null; in endBoneAssigns() 324 weightsFloatData.rewind(); in endBoneAssigns() 326 float w0 = weightsFloatData.get(), in endBoneAssigns() 327 w1 = weightsFloatData.get(), in endBoneAssigns() 328 w2 = weightsFloatData.get(), in endBoneAssigns() 329 w3 = weightsFloatData.get(); in endBoneAssigns() 343 weightsFloatData.position(weightsFloatData.position() - 4); in endBoneAssigns() 346 weightsFloatData.put(w0 * sumToB); in endBoneAssigns() [all …]
|