mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: temporarily comment out development code
This commit is contained in:
parent
2a45ced5f4
commit
0269882bea
@ -233,17 +233,17 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
for (int j = 0; j < tile->header->maxCellCount; j++)
|
||||
{
|
||||
const dtCell* cell = &tile->cells[j];
|
||||
//for (int j = 0; j < tile->header->maxCellCount; j++)
|
||||
//{
|
||||
// const dtCell* cell = &tile->cells[j];
|
||||
|
||||
if (gluProject((GLdouble)cell->pos[0]+drawOffset[0], (GLdouble)cell->pos[1]+drawOffset[1], (GLdouble)cell->pos[2]+drawOffset[2]+30,
|
||||
model, proj, view, &x, &y, &z))
|
||||
{
|
||||
ImGui_RenderText(ImGuiTextAlign_e::kAlignCenter,
|
||||
ImVec2((float)x, h - (float)y), ImVec4(0, 0.4, 0, 0.8f), "(%d,%d)", j, cell->flags);
|
||||
}
|
||||
}
|
||||
// if (gluProject((GLdouble)cell->pos[0]+drawOffset[0], (GLdouble)cell->pos[1]+drawOffset[1], (GLdouble)cell->pos[2]+drawOffset[2]+30,
|
||||
// model, proj, view, &x, &y, &z))
|
||||
// {
|
||||
// ImGui_RenderText(ImGuiTextAlign_e::kAlignCenter,
|
||||
// ImVec2((float)x, h - (float)y), ImVec4(0, 0.4, 0, 0.8f), "(%d,%d)", j, cell->flags);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user