Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

SFX-8: Significant changes to TriangleMesh class in b113 #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There have been a number of changes to the TriangleMesh class in build b113 of 
the JavaFX 8 early access.

In essence, the constants NUM_COMPONENTS_PER_FACE, NUM_COMPONENTS_PER_POINT & 
NUM_COMPONENTS_PER_TEXCOORD have been removed and replaced by the following 
functions: getFaceElementSize(), getPointElementSize() and 
getTexCoordElementSize().

I'm not sure how this improves the API, since you can't set these values and 
must now populate the face, point and texture coordinate arrays without knowing 
beforehand what that number of components are. C'est la Vie!

Original issue reported on code.google.com by mike@hindsight-consulting.com on 26 Oct 2013 at 2:40

GoogleCodeExporter commented 8 years ago
Corrected typo in summary

Original comment by mike@hindsight-consulting.com on 26 Oct 2013 at 2:41

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 37e0dca433da.

Original comment by mike@hindsight-consulting.com on 26 Oct 2013 at 3:00