Lines Matching defs:Fvector
28 struct Fvector {
29 Fvector() {
32 Fvector(double x, double y, double z) {
45 const static Fvector EYE_VECTOR(0, 0, 1);
53 double norm(const Fvector &v);
60 void normalize_vector(Fvector &v);
65 * \param a a Fvector reference
66 * \param b a Fvector reference
69 double scalar_product(const Fvector &a, const Fvector &b);
74 * \param r a Fvector reference where we store the result
75 * \param a a Fvector reference
76 * \param b a Fvector reference
78 void normalized_sum(Fvector &r, const Fvector &a, const Fvector &b);