浏览代码

align img right text left

mitm001 5 年之前
父节点
当前提交
6af5796f30
共有 1 个文件被更改,包括 12 次插入8 次删除
  1. 12 8
      docs/modules/ROOT/pages/jme3/advanced/terrain.adoc

+ 12 - 8
docs/modules/ROOT/pages/jme3/advanced/terrain.adoc

@@ -79,28 +79,32 @@ The default material for TerraMonkey is TerrainLighting.j3md. This material comb
 We recommend to <<sdk/terrain_editor#,create and edit Splat Textures for terrains visually in the jMonkeyEngine SDK>>, and not do it manually. If you are simply curious about how the SDK's terrain texture plugin works, or if you indeed want to generate materials manually, then read on for the implementation details.
 We recommend to <<sdk/terrain_editor#,create and edit Splat Textures for terrains visually in the jMonkeyEngine SDK>>, and not do it manually. If you are simply curious about how the SDK's terrain texture plugin works, or if you indeed want to generate materials manually, then read on for the implementation details.
 ====
 ====
 
 
-[.left]
+[.right.text-left]
+--
 .road.jpg
 .road.jpg
 image::tutorials:beginner/road.jpg[road.jpg,width="",height=""]
 image::tutorials:beginner/road.jpg[road.jpg,width="",height=""]
-
+--
 The Diffuse Map of one of the terrain textures depicts the colors of a paved surface.
 The Diffuse Map of one of the terrain textures depicts the colors of a paved surface.
 
 
-[.left]
+[.right.text-left]
+--
 .road_normal.png
 .road_normal.png
 image::tutorials:beginner/road_normal.png[road_normal.png,width="",height=""]
 image::tutorials:beginner/road_normal.png[road_normal.png,width="",height=""]
-
+--
 The Normal Map of one of the terrain textures depicts the bumpiness of a paved surface.
 The Normal Map of one of the terrain textures depicts the bumpiness of a paved surface.
 
 
-[.left]
+[.right.text-left]
+--
 .mountains512.png
 .mountains512.png
 image::tutorials:beginner/mountains512.png[mountains512.png,width="128",height="128"]
 image::tutorials:beginner/mountains512.png[mountains512.png,width="128",height="128"]
-
+--
 A heightmap encodes the topological highs and lows of the terrain.
 A heightmap encodes the topological highs and lows of the terrain.
 
 
-[.left]
+[.right.text-left]
+--
 .alphamap.png
 .alphamap.png
 image:tutorials:beginner/alphamap.png[alphamap.png,width="128",height="128"]
 image:tutorials:beginner/alphamap.png[alphamap.png,width="128",height="128"]
-
+--
 An alpha map can describe where 4 textures are painted onto the terrain.
 An alpha map can describe where 4 textures are painted onto the terrain.
 
 
 Here are the names of TerrainLighting.j3md's material properties:
 Here are the names of TerrainLighting.j3md's material properties: