Home
last modified time | relevance | path

Searched refs:whirlSideLength (Results 1 – 1 of 1) sorted by relevance

/NW4C-1.3.3/demos/gfx/MultiInstanceDemo/sources/
DMultiInstanceDemo.cpp409 int whirlSideLength = (s_WhirlDepth * 2 + 2); in GetNewDisplayPosition() local
414 switch (s_WhirlPos / whirlSideLength) in GetNewDisplayPosition()
419 posZ = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
423 posX = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
429 posZ = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
433 posX = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
444 if (s_WhirlPos >= whirlSideLength * 4) in GetNewDisplayPosition()