WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Vect.h
1#ifndef _WINC_VECT
2#define _WINC_VECT
3
4namespace WXP {
5 class Vect {
6 public:
7 float x;
8 float y;
9
10 Vect();
11 Vect( float rx, float ry );
12 int init();
13 int set( float rx, float ry );
14 int add( Vect &v1 );
15 int sub( Vect &v1 );
16 int scale( float sc );
17 int print();
18 };
19}
20#endif
This structure defines a vector quantity (x,y)
Definition Vect.h:5
int scale(float sc)
Definition Vect.cc:77
Vect()
Definition Vect.cc:18
int add(Vect &v1)
Definition Vect.cc:55
int init()
Definition Vect.cc:34
int set(float rx, float ry)
Definition Vect.cc:45
int print()
Definition Vect.cc:87
int sub(Vect &v1)
Definition Vect.cc:66
All WXP classes fall under the WXP namespace.
Definition Angle.h:4