Vectors
0.1
Librarie d'opérateurs vectoriels en 2D
Vect.h
Go to the documentation of this file.
1
#ifndef Vect_H
2
#define Vect_H
16
struct
Vector
{
18
int
x
;
20
int
y
;
21
};
22
typedef
struct
Vector
*
Vect
;
23
30
Vect
new_Vect
(
int
x
,
int
y
);
31
Vect
add
(
Vect
v1,
Vect
v2);
32
void
print
(
Vect
v);
33
#endif
new_Vect
Vect new_Vect(int x, int y)
constructeur
Definition:
Vect.c:5
add
Vect add(Vect v1, Vect v2)
Definition:
Vect.c:9
Vect
struct Vector * Vect
Definition:
Vect.h:22
print
void print(Vect v)
Definition:
Vect.c:12
Vector
vecteur 2D avec coordonnées entières (4 octets)
Definition:
Vect.h:16
Vector::y
int y
Definition:
Vect.h:20
Vector::x
int x
Definition:
Vect.h:18
Generated by
1.9.1