Quellcode durchsuchen

Readme updated - fix2

Iñigo Valentin vor 12 Jahren
Ursprung
Commit
944d1e0265
1 geänderte Dateien mit 0 neuen und 8 gelöschten Zeilen
  1. 0 8
      README.md

+ 0 - 8
README.md

@@ -20,11 +20,9 @@ ObJS
 ### How to use ###
 ### How to use ###
 
 
 Just include the *ObJS.js* in your project, and call
 Just include the *ObJS.js* in your project, and call
-
 ```javascript
 ```javascript
 loadModel(file, canvas);
 loadModel(file, canvas);
 ```
 ```
-
 Where 
 Where 
 * *file* is a character string with the path to the file, relative or absolute.
 * *file* is a character string with the path to the file, relative or absolute.
 * *canvas* is the canvas element in witch the model will be represented. If this parameter is not specified, the script will try to use a canvas called *ObJSCanvas*.
 * *canvas* is the canvas element in witch the model will be represented. If this parameter is not specified, the script will try to use a canvas called *ObJSCanvas*.
@@ -36,11 +34,9 @@ Where
 You can change parameters such as the elements to draw, their color, transparency, rotation speed, zoom speed... in the script, but much of them can be changed on runtime, so you can use controls.
 You can change parameters such as the elements to draw, their color, transparency, rotation speed, zoom speed... in the script, but much of them can be changed on runtime, so you can use controls.
 
 
 ##### Select which elements to draw #####
 ##### Select which elements to draw #####
-
 ```javascript
 ```javascript
 drawElement(keyword, on);
 drawElement(keyword, on);
 ```
 ```
-
 Where
 Where
 * *keyword* is a character string indicating witch element you want or don't want to be drawn. Possible values are
 * *keyword* is a character string indicating witch element you want or don't want to be drawn. Possible values are
 	- *'backg'*, for the background.
 	- *'backg'*, for the background.
@@ -50,11 +46,9 @@ Where
 * *on* is a Boolean value, indicating if the element is to be drawn or not.
 * *on* is a Boolean value, indicating if the element is to be drawn or not.
 
 
 ##### Select color for elements #####
 ##### Select color for elements #####
-
 ```javascript
 ```javascript
 colorElement(keyword, color);
 colorElement(keyword, color);
 ```
 ```
-
 Where
 Where
 * *keyword* is a character string indicating witch element you want to colorize. Possible values are
 * *keyword* is a character string indicating witch element you want to colorize. Possible values are
 	- *'backg'*, for the background.
 	- *'backg'*, for the background.
@@ -64,10 +58,8 @@ Where
 * *color* is a character string with the HEX codeo for the desired color, for example *'#ff0000'* for red.
 * *color* is a character string with the HEX codeo for the desired color, for example *'#ff0000'* for red.
 
 
 ##### Select face transparency #####
 ##### Select face transparency #####
-
 ```javascript
 ```javascript
 setAlpha(percent);
 setAlpha(percent);
 ```
 ```
-
 Where
 Where
 * *percent* is an integer, between 0 and 100, indicating the level of transparency you want to apply to the faces.
 * *percent* is an integer, between 0 and 100, indicating the level of transparency you want to apply to the faces.