mirror of
https://github.com/g-truc/glm.git
synced 2026-11-17 21:36:03 +00:00
Clean master
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
#include "../precompiled.hpp"
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtx/intersect.hpp>
|
||||
|
||||
namespace glm{
|
||||
namespace test
|
||||
{
|
||||
void main_gtx_intesect()
|
||||
{
|
||||
glm::vec3 Origin = glm::vec3(0.25f, 0.33f, 10.f);
|
||||
glm::vec3 Direction = glm::vec3(0.0f, 0.0f, -1.f);
|
||||
|
||||
glm::vec3 Vect0 = glm::vec3(0.0f, 0.0f, 0.f);
|
||||
glm::vec3 Vect1 = glm::vec3(1.0f, 0.0f, 0.f);
|
||||
glm::vec3 Vect2 = glm::vec3(0.0f, 1.0f, 0.f);
|
||||
glm::vec3 Position(0.0f);
|
||||
|
||||
bool Result = intersectRayTriangle(
|
||||
Origin, Direction,
|
||||
Vect0, Vect1, Vect2,
|
||||
Position);
|
||||
|
||||
bool End = true;
|
||||
}
|
||||
|
||||
}//namespace test
|
||||
}//namespace glm
|
||||
Reference in New Issue
Block a user