changeset 5498:0c90b4063ae7

[DOC-ONLY]: RT-33725: documented TriangleMesh's texture coordinate system.
author Pavel Safrata <pavel.safrata@oracle.com>
date Wed, 23 Oct 2013 08:36:59 +0100
parents 9775cb0a69c9
children 288eb8869c9c
files modules/graphics/src/main/java/javafx/scene/shape/TriangleMesh.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/shape/TriangleMesh.java	Wed Oct 23 09:34:33 2013 +0200
+++ b/modules/graphics/src/main/java/javafx/scene/shape/TriangleMesh.java	Wed Oct 23 08:36:59 2013 +0100
@@ -174,6 +174,8 @@
 
     /**
      * Gets the {@code ObservableFloatArray} of texture coordinates of this {@code TriangleMesh}.
+     * The coordinates are proportional, so texture's top-left corner
+     * is at [0, 0] and bottom-right corner is at [1, 1].
      *
      * @return {@code ObservableFloatArray} array of texture coordinates
      * where each texture coordinate is represented by 2 float values: u and v,