// Не рисует, что не так?
CVector tpos = {x, y, z};
if (isPointOnScreen(&tpos, 1)) {
SF->getRender()->DrawPolygon(sc[0], sc[1], 16, 16, 0, 8, 0xFF00FF00);
SF->getRender()->DrawLine(sc[0], sc[1], tsc[0], tsc[1], 3, 0xFF00FF00);
SF->getRender()->DrawPolygon(tsc[0], tsc[1], 16, 16, 0, 8, 0xFF00FF00);
}