Results 1 to 10 of 11

Thread: Convert from c++ to Pascal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    float *vertices doesn't convert to array of single. That is 1 type of cast you can't do with dynamic array. The C++ code uses pointers, so more precise translation would be:
    Code:
    var
       vertices: PSingleArray;
       vectors: PVec3Array;
    begin
       vectors:=PVec3Array(vertices);
    end;

  2. #2
    Thanks User137, i'll try it.

    Regards
    Sesilla ��

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •