aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt')
-rw-r--r--pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt b/pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt
index e7608c2d0..685ac93ff 100644
--- a/pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt
+++ b/pages/develop/api/efl/gfx/map/method/lightning_3d_absolute.txt
@@ -1,4 +1,15 @@
~~Title: Efl.Gfx.Map.lightning_3d_absolute~~
+===== Description =====
+
+%%Apply a lightning effect on the object.%%
+
+%%This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.%%
+
+%%The coordinates of the center point are given in absolute canvas coordinates. See also %%[[:develop:api:efl:gfx:map:method:lightning_3d|Efl.Gfx.Map.lightning_3d]]%% for a pivot-based lightning effect.%%
+
+//Since 1.20//
+{{page>:develop:api-include:efl:gfx:map:method:lightning_3d_absolute:description&nouser&nolink&nodate}}
+
===== Signature =====
<code>
@@ -35,17 +46,6 @@ void efl_gfx_map_lightning_3d_absolute(Eo *obj, double lx, double ly, double lz,
* **ag** //(in)// - %%Ambient color green value (0 - 255).%%
* **ab** //(in)// - %%Ambient color blue value (0 - 255).%%
-===== Description =====
-
-%%Apply a lightning effect on the object.%%
-
-%%This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.%%
-
-%%The coordinates of the center point are given in absolute canvas coordinates. See also %%[[:develop:api:efl:gfx:map:method:lightning_3d|Efl.Gfx.Map.lightning_3d]]%% for a pivot-based lightning effect.%%
-
-//Since 1.20//
-{{page>:develop:api-include:efl:gfx:map:method:lightning_3d_absolute:description&nouser&nolink&nodate}}
-
===== Implemented by =====
* **Efl.Gfx.Map.lightning_3d_absolute**