Home | History | Annotate | Download | only in util

Lines Matching refs:tangents

164             VertexBuffer tangents = mesh.getBuffer(Type.Tangent);
165 if (tangents != null) {
170 BufferUtils.clone(tangents.getData()));
176 tangents.setUsage(Usage.Stream);
186 throw new IllegalArgumentException("Can only generate tangents for "
435 FloatBuffer tangents = BufferUtils.createFloatBuffer(vertices.length * 4);
472 "Angle between tangents exceeds tolerance "
587 tangents.put((i * 4), tangent.x);
588 tangents.put((i * 4) + 1, tangent.y);
589 tangents.put((i * 4) + 2, tangent.z);
590 tangents.put((i * 4) + 3, wCoord);
592 tangents.put((i * 4), tangent.x);
593 tangents.put((i * 4) + 1, tangent.y);
594 tangents.put((i * 4) + 2, tangent.z);
595 tangents.put((i * 4) + 3, wCoord);
602 mesh.setBuffer(Type.Tangent, 4, tangents);