Home
last modified time | relevance | path

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

/NW4C-2.0.3/demos/gfx/MultiInstanceDemo/sources/
DMultiInstanceDemo.cpp411 int whirlSideLength = (s_WhirlDepth * 2 + 2); in GetNewDisplayPosition() local
416 switch (s_WhirlPos / whirlSideLength) in GetNewDisplayPosition()
421 posZ = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
425 posX = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
431 posZ = -(s_WhirlPos % whirlSideLength) + s_WhirlDepth; in GetNewDisplayPosition()
435 posX = s_WhirlPos % whirlSideLength - s_WhirlDepth; in GetNewDisplayPosition()
446 if (s_WhirlPos >= whirlSideLength * 4) in GetNewDisplayPosition()