|
@@ -235,7 +235,7 @@ You cannot scale a texture, but you scale the texture coordinates of the mesh th
|
|
|
mesh.scaleTextureCoordinates(new Vector2f(2,2));
|
|
mesh.scaleTextureCoordinates(new Vector2f(2,2));
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
-You can choose among various `com.jme3.texture.Texture.WrapMode`s for individual texture maps of a material: BorderClamp, EdgeClamp, Clamp; MirrorBorderClamp, MirrorEdgeClamp, MirrorClamp; Repeat, MirroredRepeat.
|
|
|
|
|
|
|
+You can choose among various ``com.jme3.texture.Texture.WrapMode``s for individual texture maps of a material: BorderClamp, EdgeClamp, Clamp; MirrorBorderClamp, MirrorEdgeClamp, MirrorClamp; Repeat, MirroredRepeat.
|
|
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|
|
|
----
|
|
----
|
|
@@ -640,7 +640,7 @@ Many maths functions (mult(), add(), subtract(), etc) come as local and a non-lo
|
|
|
*** The result is stored in the calling object q2. The old value of q2 is gone.
|
|
*** The result is stored in the calling object q2. The old value of q2 is gone.
|
|
|
*** Object q3 stays as it was.
|
|
*** Object q3 stays as it was.
|
|
|
|
|
|
|
|
-** Example 2:`v.multLocal(a).addLocal(b);`
|
|
|
|
|
|
|
+** Example 2: `v.multLocal(a).addLocal(b);`
|
|
|
*** Calculates the expected result without creating temp objects.
|
|
*** Calculates the expected result without creating temp objects.
|
|
|
*** The result is stored in the calling object v. The old value of v is gone.
|
|
*** The result is stored in the calling object v. The old value of v is gone.
|
|
|
*** The objects a and b stay as they were.
|
|
*** The objects a and b stay as they were.
|