Outils pour utilisateurs

Outils du site


back2root:archives:denthor:part-03

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
back2root:archives:denthor:part-03 [2023/05/18 20:35] fraterback2root:archives:denthor:part-03 [2023/05/18 21:07] (Version actuelle) frater
Ligne 97: Ligne 97:
 0.005 seem to be best for the 320x200 screen.  0.005 seem to be best for the 320x200 screen. 
  
-<WRAP center round info 60%>+<WRAP round info>
 ASPHYXIA does not use this particular circle algorithm, ours is in assembly language, but this one should be fast enough for most. If it isn't, give us the stuff you are using it for and we'll give you ours. ASPHYXIA does not use this particular circle algorithm, ours is in assembly language, but this one should be fast enough for most. If it isn't, give us the stuff you are using it for and we'll give you ours.
 </WRAP> </WRAP>
Ligne 109: Ligne 109:
  
 {{drawio>back2root:archives:denthor:part-03-line-01.png}} {{drawio>back2root:archives:denthor:part-03-line-01.png}}
- 
-Ie.            o  (X1,Y1) 
-                ooooooooo 
-                         ooooooooo 
-                                  oooooooo  (X2,Y2) 
  
 Again, sorry about my drawings ;-) Again, sorry about my drawings ;-)
Ligne 137: Ligne 132:
 As you can see, the slopes are real numbers. As you can see, the slopes are real numbers.
  
-<WRAP center round info 60%>+<WRAP round info>
 XSlope = 1 / YSlope XSlope = 1 / YSlope
 </WRAP> </WRAP>
Ligne 150: Ligne 145:
  
 {{drawio>back2root:archives:denthor:part-03-line-02.png}} {{drawio>back2root:archives:denthor:part-03-line-02.png}}
- 
-        o 
-           o 
-              o 
  
 Instead of this : Instead of this :
  
 {{drawio>back2root:archives:denthor:part-03-line-03.png}} {{drawio>back2root:archives:denthor:part-03-line-03.png}}
-        ooo 
-           ooo 
-              ooo 
  
 Well, the solution is as follows : Well, the solution is as follows :
  
-{{drawio>back2root:archives:denthor:part-03-line-04.png}} +<code
- +*\``|``/* 
-                           *\``|``/* +***\|/*** 
-                           ***\|/*** +----+---- 
-                           ----+---- +***/|\*** 
-                           ***/|\*** +*/``|``\* 
-                           */``|``\*+</code>
  
 If the slope angle is in the area of the stars (*) then use the first equation, if it is in the other section (`) then use the second one. If the slope angle is in the area of the stars (*) then use the first equation, if it is in the other section (`) then use the second one.
  
 What you do is you calculate the variable on the left hand side by putting the variable on the right hand side in a loop and solving. Below is our finished line routine : What you do is you calculate the variable on the left hand side by putting the variable on the right hand side in a loop and solving. Below is our finished line routine :
 +
 +=== function: ===
  
 <code pascal> <code pascal>
back2root/archives/denthor/part-03.txt · Dernière modification : 2023/05/18 21:07 de frater