Fichier texte en cours : Fonction Irrlicht.txt






Voici les fonctions intéressantes d'Irrlicht 3D :


-
         //! Creates a 16 bit A1R5G5B5 color
         inline u16 RGBA16(u32 r, u32 g, u32 b, u32 a=0xFF)
         {
                  return (u16)((a & 0x80) << 8 |
                           (r & 0xF8) << 7 |
                           (g & 0xF8) << 2 |
                           (b & 0xF8) >> 3);
         }


- HighPrecisionFPU

- When performance timers are not used, standard GetTickCount()
is used instead which usually has worse resolution

- enum LightType {POINT, SPOT, DIRECTIONAL}

- lumière :

         - AmbientColor
         - SpecularColor
         - Attenuation
         - Position
         - Direction
         - Radius

- EAAM_ALPHA_TO_COVERAGE