glm/test/gtc/gtc_matrix_transform.cpp

22 lines
805 B
C++
Raw Permalink Normal View History

2011-01-20 11:02:39 +00:00
///////////////////////////////////////////////////////////////////////////////////////////////////
2013-02-20 15:21:56 +00:00
// OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
2011-01-20 11:02:39 +00:00
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2010-09-16
// Updated : 2010-09-16
// Licence : This source is under MIT licence
2011-03-11 02:09:33 +00:00
// File : test/gtc/matrix_transform.cpp
2011-01-20 11:02:39 +00:00
///////////////////////////////////////////////////////////////////////////////////////////////////
#include <glm/glm.hpp>
2011-03-11 02:09:33 +00:00
#include <glm/gtc/matrix_transform.hpp>
2011-01-20 11:02:39 +00:00
2011-01-24 15:44:14 +00:00
int main()
2011-01-20 11:02:39 +00:00
{
2012-04-07 16:18:04 +00:00
int Error = 0;
2011-03-11 02:15:15 +00:00
glm::mat4 Projection = glm::perspective(45.0f, 4.0f / 3.0f, 0.1f, 100.0f);
2011-03-11 02:15:15 +00:00
glm::mat4 Pick = glm::pickMatrix(glm::vec2(1, 2), glm::vec2(3, 4), glm::ivec4(0, 0, 320, 240));
2011-01-20 11:02:39 +00:00
2012-04-07 16:18:04 +00:00
return Error;
2011-01-20 11:02:39 +00:00
}