HatchitMath
ht_ray.h
1 
23 #pragma once
24 
25 #include <ht_platform.h>
26 #include <ht_vector3.h>
27 
28 namespace Hatchit
29 {
30  namespace Math
31  {
32  class HT_API Ray
33  {
34  public:
35  //Constructors
39  Ray(Vector3 direction);
44  Ray(Vector3 origin, Vector3 direction);
45 
46  virtual ~Ray();
47 
48  //Accessors & Mutators
49 
53  Vector3 getOrigin();
57  Vector3 getDirection();
58 
62  void setOrigin(Vector3 origin);
66  void setDirection(Vector3 direction);
67 
68  private:
69  Vector3 origin;
70  Vector3 direction;
71  };
72  }
73 }
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_intrin.h:33
Definition: ht_ray.h:32
Definition: ht_math.h:280