osgEarth 2.1.1
Functions

seamless::anonymous_namespace{PatchSet.cpp} Namespace Reference

Functions

void getGridCoords (int psRes, unsigned short index, int &x, int &y)

Function Documentation

void seamless::anonymous_namespace{PatchSet.cpp}::getGridCoords ( int  psRes,
unsigned short  index,
int &  x,
int &  y 
) [inline]

Definition at line 167 of file PatchSet.cpp.

{
    y = index / (psRes + 1);
    x = index % (psRes + 1);
}

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines