Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
back2root:archives:denthor:part-08 [2021/09/18 20:39] – [Optimisation] frater | back2root:archives:denthor:part-08 [2024/08/27 09:04] (Version actuelle) – [Drawing a 3D point to screen] frater | ||
---|---|---|---|
Ligne 65: | Ligne 65: | ||
Total = 153 clock ticks | Total = 153 clock ticks | ||
| | ||
- | <WRAP center round important | + | <WRAP center round important> |
Don't take my clock ticks as gospel, I probably got one or two wrong. | Don't take my clock ticks as gospel, I probably got one or two wrong. | ||
</ | </ | ||
Ligne 146: | Ligne 146: | ||
==== Rotating a point with matrixes ==== | ==== Rotating a point with matrixes ==== | ||
- | <WRAP center round tip 60%> | + | <WRAP center round tip> |
I thought that more then one matix are matrisese (sp), but my spellchecker insists it is matrixes, so I let it have it's way ;-) | I thought that more then one matix are matrisese (sp), but my spellchecker insists it is matrixes, so I let it have it's way ;-) | ||
</ | </ | ||
Ligne 227: | Ligne 227: | ||
</ | </ | ||
- | <WRAP center round info 60%> | + | <WRAP center round info> |
Zoff is how far away the entire object is, Xoff is the objects X value, and Yoff is the objects Y value. In the sample program, Xoff start off at 160 and Yoff starts off at 100, so that the object is in the middle of the screen. | Zoff is how far away the entire object is, Xoff is the objects X value, and Yoff is the objects Y value. In the sample program, Xoff start off at 160 and Yoff starts off at 100, so that the object is in the middle of the screen. | ||
</ | </ |