Home
last modified time | relevance | path

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

/NW4C-1.2.23/demos/gfx/MultiInstanceDemo/sources/
DMultiInstanceDemo.cpp417 int whirlSideLength = (s_WhirlDepth * 2 + 2); in GetNewDisplayPosition() local
422 switch (s_WhirlPos / whirlSideLength) in GetNewDisplayPosition()
427 posZ = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
431 posX = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
437 posZ = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
441 posX = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
452 if (s_WhirlPos >= whirlSideLength * 4) in GetNewDisplayPosition()