projects
/
MicroTrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
solution for assignment 2.1
[MicroTrace.git]
/
Vec3f.hxx
diff --git
a/Vec3f.hxx
b/Vec3f.hxx
index
74f304b
..
6b67d5b
100644
(file)
--- a/
Vec3f.hxx
+++ b/
Vec3f.hxx
@@
-10,8
+10,6
@@
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
-#define max(a,b) MAX(a,b)
-#define min(a,b) MIN(a,b)
#define Epsilon 1E-4
#define Infinity HUGE_VAL
#define Epsilon 1E-4
#define Infinity HUGE_VAL
@@
-30,12
+28,12
@@
public:
Vec3f& operator=(const Vec3f& o);
//! dot product
Vec3f& operator=(const Vec3f& o);
//! dot product
- float operator|(const Vec3f& o);
- float dot(const Vec3f& o);
+ float operator|(const Vec3f& o)
const
;
+ float dot(const Vec3f& o)
const
;
//! cross product
//! cross product
- Vec3f operator%(const Vec3f& o);
- Vec3f cross(const Vec3f& o);
+ Vec3f operator%(const Vec3f& o)
const
;
+ Vec3f cross(const Vec3f& o)
const
;
//! normalize vector
void normalize();
//! normalize vector
void normalize();
This page took
0.024678 seconds
and
4
git commands to generate.