Physics Simulation & Visualization Tool
0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
Ray.h
Go to the documentation of this file.
1
#pragma once
2
#include <glm/vec3.hpp>
3
4
namespace
Math
{
11
struct
Ray
{
12
glm::vec3
origin
;
13
glm::vec3
dir
;
14
};
15
}
Math
Mathematical and geometric utility functions.
Math::Ray::origin
glm::vec3 origin
Starting point of the ray in world space.
Definition
Ray.h:12
Math::Ray::dir
glm::vec3 dir
Direction vector (should be normalized)
Definition
Ray.h:13
Math::Ray
Represents a ray in 3D space.
Definition
Ray.h:11
src
math
Ray.h
Generated by
1.9.8