Selaa lähdekoodia

changer to block images

mitm001 5 vuotta sitten
vanhempi
commit
368eb364dd
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      docs/modules/tutorials/pages/beginner/hello_terrain.adoc

+ 2 - 2
docs/modules/tutorials/pages/beginner/hello_terrain.adoc

@@ -120,7 +120,7 @@ Heightmaps are an efficient way of representing the shape of a hilly landscape.
 
 In Java, a heightmap is a float array containing height values between 0f and 255f. Here is a very simple example of a terrain generated from a heightmap with 5x5=25 height values.
 
-image:beginner/terrain-from-float-array.png[terrain-from-float-array.png,width="",height=""]
+image::beginner/terrain-from-float-array.png[terrain-from-float-array.png,width="",height=""]
 
 Important things to note:
 
@@ -135,7 +135,7 @@ When looking at Java data types to hold an array of floats between 0 and 255, th
 
 Look at the next screenshot: In the top left you see a 128x128 grayscale image (heightmap) that was used as a base to generate the depicted terrain. To make the hilly shape better visible, the mountain tops are colored white, valleys brown, and the areas inbetween green:
 
-image:beginner/terrain-from-heightmap.png[terrain-from-heightmap.png,width="",height=""]
+image::beginner/terrain-from-heightmap.png[terrain-from-heightmap.png,width="",height=""]
 
 In a real game, you will want to use more complex and smoother terrains than the simple heightmaps shown here. Heightmaps typically have square sizes of 512x512 or 1024x1024, and contain hundred thousands to 1 million height values. No matter which size, the concept is the same as described here.