Added extension inclusion messages

This commit is contained in:
Christophe Riccio 2011-01-19 16:41:58 +00:00
parent a1ae4bb86f
commit 2aba768990
10 changed files with 34 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
# define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
# pragma message("GLM: All extensions included (not recommanded)")
#endif//GLM_MESSAGE
#endif//GLM_MESSAGES
#include "./gtc/half_float.hpp"
#include "./gtc/matrix_access.hpp"

View File

@ -13,6 +13,10 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_half_float extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_access extension included")
#endif
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_access extension: Set a column or a row of a matrix

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_inverse extension included")
#endif
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_inverse extension: Inverse matrix functions

View File

@ -17,6 +17,10 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_transform extension included")
#endif
namespace glm
{
namespace test{

View File

@ -22,6 +22,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_quaternion extension included")
#endif
namespace glm
{
namespace test{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtc/type_precision.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_swizzle extension included")
#endif
namespace glm
{
namespace test{

View File

@ -20,6 +20,10 @@
#include "../gtc/half_float.hpp"
#include "../gtc/quaternion.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_type_precision extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
# pragma message("GLM: GLM_GTC_type_ptr extension included")
#endif
namespace glm
{
namespace test{

View File

@ -7,7 +7,7 @@
// File : test/gtx/simd-mat4.cpp
///////////////////////////////////////////////////////////////////////////////////////////////////
#define GLM_INSTRUCTION_SET GLM_PLATFORM_SSE3 | GLM_PLATFORM_SSE2
#define GLM_MESSAGES
#include <glm/glm.hpp>
#include <glm/gtc/swizzle.hpp>