| Modifier and Type | Field and Description |
|---|---|
| private Camera | |
| private final Vector3 | |
| private final Vector3 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(final Renderable o1, final Renderable o2)
Implements java. Compares its two arguments for order. |
| private Vector3 | |
| public void | sort(final Camera camera, final Array<Renderable> renderables)
Implements com. Sorts the array of |
| camera | back to summary |
|---|---|
| private Camera camera | |
| tmpV1 | back to summary |
|---|---|
| private final Vector3 tmpV1 | |
| tmpV2 | back to summary |
|---|---|
| private final Vector3 tmpV2 | |
| DefaultRenderableSorter | back to summary |
|---|---|
| public DefaultRenderableSorter() | |
| compare | back to summary |
|---|---|
| public int compare(final Renderable o1, final Renderable o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| getTranslation | back to summary |
|---|---|
| private Vector3 getTranslation(Matrix4 worldTransform, Vector3 center, Vector3 output) | |
| sort | back to summary |
|---|---|
| public void sort(final Camera camera, final Array<Renderable> renderables) Implements com. Doc from com. Sorts the array of
| |