salut, je dois traduire des sources en C++ en Delphi
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
class TCamera {
      private:
             
             Point3D Orientation;
             Point3D* Focalisation;
      public :
             Point3D Position;
             TCamera(float x, float y, float z);
             ~TCamera( void );
             void SetOrientation(float x, float y, float z);
             void SetPosition(float x, float y, float z);
             void SetFocalisation(Point3D* Focale);
             void Focalise(void);
             void Distance(float distance);
             void RotationY(float angle);
             void RotationZX(float angle);
};
donc voila je n'arrive pas a le traduire,une bonne ame ne pourrait-elle pas m'aider??? ,
sinon -void équivaut a procedure en delphi ?
-* equivaut a un pointeur en delphi (^) ?


ps : merci , c'est parfait je vais réussir a me debrouiller avec ça .