arsa  2.7
Static Public Member Functions | List of all members
irr::scene::quake3::Noiser Struct Reference

#include <IQ3Shader.h>

Static Public Member Functions

static f32 get ()
 

Detailed Description

Definition at line 360 of file IQ3Shader.h.

Member Function Documentation

◆ get()

static f32 irr::scene::quake3::Noiser::get ( )
inlinestatic

Definition at line 362 of file IQ3Shader.h.

363  {
364  static u32 RandomSeed = 0x69666966;
365  RandomSeed = (RandomSeed * 3631 + 1);
366 
367  f32 value = ( (f32) (RandomSeed & 0x7FFF ) * (1.0f / (f32)(0x7FFF >> 1) ) ) - 1.f;
368  return value;
369  }
float f32
32 bit floating point variable.
Definition: irrTypes.h:108
GLsizei const GLfloat * value
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:62

The documentation for this struct was generated from the following file: