Phongo Clap RT  1.0
Simple Raytracing Renderer
Vec.cpp
Go to the documentation of this file.
1 
5 #include <cmath>
6 #include "Vec.h"
7 
8 namespace geo
9 {
11 {
12  m_x = (_B.x - _A.x);
13  m_y = (_B.y - _A.y);
14  m_z = (_B.z - _A.z);
15 }
16 Vec::Vec(Ray _r, float _t)
17 {
18 
19 }
20 }
float y
Definition: Vec.h:18
Definition: Ray.h:17
Definitions for the extended ngl::Vec3.
float x
Definition: Vec.h:17
Vec(geo::Point _A, geo::Point _B)
Definition: Vec.cpp:10
float z
Definition: Vec.h:19
Definition: Plane.cpp:9
Holds 3D coordenates for a point in spance.
Definition: Vec.h:16