OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:tangentstore
(Results
1 - 1
of
1
) sorted by null
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LODGeomap.java
631
public FloatBuffer[] writeTangentArray(FloatBuffer normalBuffer, FloatBuffer
tangentStore
, FloatBuffer binormalStore, FloatBuffer textureBuffer, Vector3f scale) {
636
if (
tangentStore
!= null) {
637
if (
tangentStore
.remaining() < getWidth() * getHeight() * 3) {
641
tangentStore
= BufferUtils.createFloatBuffer(getWidth() * getHeight() * 3);
643
tangentStore
.rewind();
672
BufferUtils.setInBuffer(tangent.normalizeLocal(),
tangentStore
, (r * getWidth() + c)); // save the tangent
714
BufferUtils.setInBuffer(tangent,
tangentStore
, (r * getWidth() + c)); // save the tangent
719
return new FloatBuffer[]{
tangentStore
, binormalStore};
[
all
...]
Completed in 58 milliseconds