|
|
@ -143,11 +143,13 @@ void CComputedString::render2D (IDriver& driver,
|
|
|
|
/*------------------------------------------------------------------*\
|
|
|
|
/*------------------------------------------------------------------*\
|
|
|
|
render3D()
|
|
|
|
render3D()
|
|
|
|
\*------------------------------------------------------------------*/
|
|
|
|
\*------------------------------------------------------------------*/
|
|
|
|
void CComputedString::render3D (IDriver& driver,CMatrix matrix,THotSpot hotspot)
|
|
|
|
void CComputedString::render3D (IDriver& driver, const CMatrix &matrixp, THotSpot hotspot)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (Vertices.getNumVertices() == 0)
|
|
|
|
if (Vertices.getNumVertices() == 0)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMatrix matrix = matrixp;
|
|
|
|
|
|
|
|
|
|
|
|
// get window size
|
|
|
|
// get window size
|
|
|
|
uint32 wndWidth, wndHeight;
|
|
|
|
uint32 wndWidth, wndHeight;
|
|
|
|
driver.getWindowSize(wndWidth, wndHeight);
|
|
|
|
driver.getWindowSize(wndWidth, wndHeight);
|
|
|
|