Einzelnen Beitrag anzeigen

sesillabubu

Registriert seit: 11. Dez 2010
2 Beiträge
 
#1

How convert c++ code ?

  Alt 11. Dez 2010, 15:25
Hi all,

i have a problem, it's possible to convert this c++ code into delphi. Any chance or workaround?

Delphi-Quellcode:
    list<Vector2> vList;
    const Vector2 vMin = 1.2f;
    const Vector2 vMax = 8.9f;

    list.clear();
    for (float y = vMin.y; y<=vMax.y; y+=1.0f)
    {
        for (float x = vMin.x; x<=vMax.x; x+=1.0f)
        {
      outList.push_back(Vector2(x, y));
        }

    }

Thanks in advance
Sesilla
  Mit Zitat antworten Zitat