istereo
view libs/vmath/sphvec.h @ 35:23e5d274b2a2
added options panel, also added the xib files to the repository as they're needed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 09 Sep 2011 10:03:42 +0300 |
parents | |
children | ff055bff6a15 |
line source
1 #ifndef VMATH_SPHVEC_H_
2 #define VMATH_SPHVEC_H_
4 #include "vmath_types.h"
6 #ifdef __cplusplus
7 /* Vector in spherical coordinates */
8 class SphVector {
9 public:
10 scalar_t theta, phi, r;
12 SphVector(scalar_t theta = 0.0, scalar_t phi = 0.0, scalar_t r = 1.0);
13 SphVector(const Vector3 &cvec);
14 SphVector &operator =(const Vector3 &cvec);
15 };
16 #endif /* __cplusplus */
18 #endif /* VMATH_SPHVEC_H_ */