/* Auteur : Pierre Aubert Mail : aubertp7@gmail.com Licence : lgpl */ #ifndef Pointf_H #define Pointf_H #include #include #ifdef __cplusplus extern "C" { #endif /** @b structure simple permettant de définir un Pointf, un peut comme le Vecteur mais encore plus simple. un Pointf pouvant être converti en Vecteur et réciproquement*/ struct Pointf{ ///coordonnées en abscisse (Ox) float x; ///coordonnées en ordonnées (Oy) float y; ///coordonnées en cote (Oz) float z; }; typedef struct Pointf Pointf; //initialise un Pointf void initPointf(Pointf * pointf, float x, float y, float z); #ifdef __cplusplus } /* closing brace for extern "C" */ #endif #endif