| Package | Description |
|---|---|
| de.jreality.geometry |
This package contains geometry related utilities.
|
| de.jreality.scene.data |
Contains the structures to store and transfer all sorts of data in the scene.
|
| Modifier and Type | Method and Description |
|---|---|
static IntArrayArray |
IndexedFaceSetUtility.edgesFromFaces(int[][] faces) |
static IntArrayArray |
IndexedFaceSetUtility.edgesFromFaces(IntArrayArray faces)
TODO optimize in case its a QuadMesh (u+v curves instead of u*v segments)
|
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
IndexedFaceSetUtility.calculateVertexTangents(DoubleArrayArray texCoords,
DoubleArrayArray vertexCoordinates,
DoubleArrayArray vertexNormals,
IntArrayArray faceIndices)
calculates face tangents, converted from
http://www.terathon.com/code/tangent.php
|
static IntArrayArray |
IndexedFaceSetUtility.edgesFromFaces(IntArrayArray faces)
TODO optimize in case its a QuadMesh (u+v curves instead of u*v segments)
|
| Modifier and Type | Class and Description |
|---|---|
static class |
IntArrayArray.Array
This implementation of IntArrayArray stores the data as an array of 2-arrays.
|
static class |
IntArrayArray.Inlined |
| Modifier and Type | Method and Description |
|---|---|
IntArrayArray |
DataItem.toIntArrayArray() |
IntArrayArray |
DataList.toIntArrayArray() |
IntArrayArray |
IntArrayArray.toIntArrayArray() |
IntArrayArray |
WritableDataList.toIntArrayArray() |
IntArrayArray |
StorageModel.toIntArrayArray(Object data) |