Added VCC build
This commit is contained in:
28
external/glm-0.9.9-a2/util/autoexp.txt
vendored
Normal file
28
external/glm-0.9.9-a2/util/autoexp.txt
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
[Visualizer]
|
||||
|
||||
glm::detail::tvec2<*>{
|
||||
preview (
|
||||
#(#($c.x,$c.y))
|
||||
)
|
||||
children (
|
||||
#([x]: $c.x,[y]: $c.y)
|
||||
)
|
||||
}
|
||||
|
||||
glm::detail::tvec3<*>{
|
||||
preview (
|
||||
#($e.x,$e.y,$e.z)
|
||||
)
|
||||
children (
|
||||
#([x]: $e.x,[y]: $e.y,[z]: $e.z)
|
||||
)
|
||||
}
|
||||
|
||||
glm::detail::tvec4<*>{
|
||||
preview (
|
||||
#($c.x,$c.y,$c.z,$c.w)
|
||||
)
|
||||
children (
|
||||
#([x]: $e.x,[y]: $e.y,[z]: $e.z, #([w]: $e.w))
|
||||
)
|
||||
}
|
||||
3896
external/glm-0.9.9-a2/util/autoexp.vc2010.dat
vendored
Normal file
3896
external/glm-0.9.9-a2/util/autoexp.vc2010.dat
vendored
Normal file
File diff suppressed because it is too large
Load Diff
19
external/glm-0.9.9-a2/util/conan-package/.gitignore
vendored
Normal file
19
external/glm-0.9.9-a2/util/conan-package/.gitignore
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#Backup files
|
||||
*\~
|
||||
*swp
|
||||
|
||||
#OSX
|
||||
Thumbs.db
|
||||
.DS_Store
|
||||
|
||||
#Emacs buffers
|
||||
\#*\#
|
||||
\.#*
|
||||
|
||||
#Conan
|
||||
test_package/build
|
||||
conanfile.pyc
|
||||
conaninfo.txt
|
||||
conanbuildinfo.txt
|
||||
conanbuildinfo.cmake
|
||||
!FindGLM.cmake
|
||||
10
external/glm-0.9.9-a2/util/conan-package/FindGLM.cmake
vendored
Normal file
10
external/glm-0.9.9-a2/util/conan-package/FindGLM.cmake
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
FIND_PATH(
|
||||
GLM_INCLUDE_DIR
|
||||
NAMES
|
||||
glm
|
||||
PATHS
|
||||
include)
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLM REQUIRED_VARS GLM_INCLUDE_DIR)
|
||||
5
external/glm-0.9.9-a2/util/conan-package/README.md
vendored
Normal file
5
external/glm-0.9.9-a2/util/conan-package/README.md
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Conan package for the [GLM](https://github.com/g-truc/glm) library
|
||||
|
||||
The package is hosted on [bintray](https://bintray.com/conan/conan-center?filterByPkgName=glm%3Ag-truc).
|
||||
|
||||
It works on Windows (Visual Studio or MinGW), MacOS/OSX and Linux.
|
||||
20
external/glm-0.9.9-a2/util/conan-package/conanfile.py
vendored
Normal file
20
external/glm-0.9.9-a2/util/conan-package/conanfile.py
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import os
|
||||
from conans import ConanFile
|
||||
|
||||
class GlmConan(ConanFile):
|
||||
name = "glm"
|
||||
version = "master"
|
||||
generators = "txt"
|
||||
url="https://github.com/g-truc/glm"
|
||||
description="OpenGL Mathematics (GLM)"
|
||||
license = "https://github.com/g-truc/glm/blob/manual/copying.txt"
|
||||
exports_sources = ["FindGLM.cmake", os.sep.join(["..", "..", "glm*"])]
|
||||
exports = "lib_licenses/*"
|
||||
|
||||
def build(self):
|
||||
self.output.info("No compilation necessary for GLM")
|
||||
|
||||
def package(self):
|
||||
self.copy("FindGLM.cmake", ".", ".")
|
||||
self.copy("*", src="glm", dst=os.sep.join([".", "include", "glm"]))
|
||||
self.copy("lib_licenses/license*", dst="licenses", ignore_case=True, keep_path=False)
|
||||
11
external/glm-0.9.9-a2/util/conan-package/lib_licenses/LICENSE1.txt
vendored
Normal file
11
external/glm-0.9.9-a2/util/conan-package/lib_licenses/LICENSE1.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
The Happy Bunny License (Modified MIT License)
|
||||
|
||||
Copyright (c) 2005 - 2017 G-Truc Creation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
Restrictions: By making use of the Software for military purposes, you choose to make a Bunny unhappy.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
9
external/glm-0.9.9-a2/util/conan-package/lib_licenses/LICENSE2.txt
vendored
Normal file
9
external/glm-0.9.9-a2/util/conan-package/lib_licenses/LICENSE2.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2005 - 2017 G-Truc Creation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
12
external/glm-0.9.9-a2/util/conan-package/test_package/CMakeLists.txt
vendored
Normal file
12
external/glm-0.9.9-a2/util/conan-package/test_package/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
project(GlmTest)
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
|
||||
endif(MSVC)
|
||||
|
||||
add_executable(testGlm main.cpp)
|
||||
|
||||
|
||||
15
external/glm-0.9.9-a2/util/conan-package/test_package/conanfile.py
vendored
Normal file
15
external/glm-0.9.9-a2/util/conan-package/test_package/conanfile.py
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
from conans import ConanFile, CMake
|
||||
import os
|
||||
|
||||
class TestGlm(ConanFile):
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
generators = "cmake"
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
self.run('cmake "%s" %s' % (self.conanfile_directory, cmake.command_line))
|
||||
self.run("cmake --build . %s" % cmake.build_config)
|
||||
|
||||
def test(self):
|
||||
self.run(os.sep.join([".","bin", "testGlm"]))
|
||||
|
||||
6
external/glm-0.9.9-a2/util/conan-package/test_package/main.cpp
vendored
Normal file
6
external/glm-0.9.9-a2/util/conan-package/test_package/main.cpp
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "glm/glm.hpp"
|
||||
|
||||
int main (){
|
||||
glm::mat4x4 aMatrix;
|
||||
return 0;
|
||||
}
|
||||
69
external/glm-0.9.9-a2/util/glm.natvis
vendored
Normal file
69
external/glm-0.9.9-a2/util/glm.natvis
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- GLM visualizers for Visual Studio 2012 -->
|
||||
<!-- Put them into My Documents/Visual Studio 2012/Visualizers/ -->
|
||||
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
<Type Name="glm::tvec1<*>">
|
||||
<DisplayString>{x}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="x">x</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="glm::tvec2<*>">
|
||||
<DisplayString>{x}, {y}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="x">x</Item>
|
||||
<Item Name="y">y</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="glm::tvec3<*>">
|
||||
<DisplayString>{x}, {y}, {z}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="x">x</Item>
|
||||
<Item Name="y">y</Item>
|
||||
<Item Name="z">z</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="glm::tvec4<*>">
|
||||
<DisplayString>{x}, {y}, {z}, {w}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="x">x</Item>
|
||||
<Item Name="y">y</Item>
|
||||
<Item Name="z">z</Item>
|
||||
<Item Name="w">w</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<!--Type Name="glm::tmat4<*>">
|
||||
<DisplayString>{value[0]}, {value[1]}, {value[2]}, {value[3]}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="[0]">value[0]</Item>
|
||||
<Item Name="[1]">value[1]</Item>
|
||||
<Item Name="[2]">value[2]</Item>
|
||||
<Item Name="[3]">value[3]</Item>
|
||||
</Expand>
|
||||
</Type-->
|
||||
|
||||
<Type Name="glm::tquat<*>">
|
||||
<DisplayString>({x}, {y}, {z}), {w}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="x">x</Item>
|
||||
<Item Name="y">y</Item>
|
||||
<Item Name="z">z</Item>
|
||||
<Item Name="w">w</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="glm::tdualquat<*>">
|
||||
<DisplayString>(({real.x}, {real.y}, {real.z}), {real.w}), (({dual.x}, {dual.y}, {dual.z}), {dual.w})</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="real">real</Item>
|
||||
<Item Name="dual">dual</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
|
||||
407
external/glm-0.9.9-a2/util/usertype.dat
vendored
Normal file
407
external/glm-0.9.9-a2/util/usertype.dat
vendored
Normal file
@@ -0,0 +1,407 @@
|
||||
attribute
|
||||
const
|
||||
uniform
|
||||
varying
|
||||
break
|
||||
continue
|
||||
do
|
||||
for
|
||||
while
|
||||
if
|
||||
else
|
||||
in
|
||||
out
|
||||
inout
|
||||
float
|
||||
int
|
||||
void
|
||||
bool
|
||||
true
|
||||
false
|
||||
discard
|
||||
return
|
||||
mat2
|
||||
mat3
|
||||
mat4
|
||||
mat2x2
|
||||
mat3x3
|
||||
mat4x4
|
||||
mat2x3
|
||||
mat3x2
|
||||
mat2x4
|
||||
mat4x2
|
||||
mat3x4
|
||||
mat4x3
|
||||
vec2
|
||||
vec3
|
||||
vec4
|
||||
ivec2
|
||||
ivec3
|
||||
ivec4
|
||||
uvec2
|
||||
uvec3
|
||||
uvec4
|
||||
bvec2
|
||||
bvec3
|
||||
bvec4
|
||||
sampler1D
|
||||
sampler2D
|
||||
sampler3D
|
||||
samplerCube
|
||||
sampler1DShadow
|
||||
sampler2DShadow
|
||||
struct
|
||||
|
||||
asm
|
||||
class
|
||||
union
|
||||
enum
|
||||
typedef
|
||||
template
|
||||
this
|
||||
packed
|
||||
goto
|
||||
switch
|
||||
default
|
||||
inline
|
||||
noinline
|
||||
volatile
|
||||
public
|
||||
static
|
||||
extern
|
||||
external
|
||||
interface
|
||||
long
|
||||
short
|
||||
double
|
||||
half
|
||||
fixed
|
||||
unsigned
|
||||
input
|
||||
output
|
||||
sampler2DRect
|
||||
sampler3DRect
|
||||
sampler2DRectShadow
|
||||
sizeof
|
||||
cast
|
||||
namespace
|
||||
using
|
||||
|
||||
layout
|
||||
location
|
||||
smooth
|
||||
flat
|
||||
noperspective
|
||||
centroid
|
||||
invariant
|
||||
lowp
|
||||
mediump
|
||||
highp
|
||||
precision
|
||||
patch
|
||||
sample
|
||||
subroutine
|
||||
|
||||
hvec2
|
||||
hvec3
|
||||
hvec4
|
||||
fvec2
|
||||
fvec3
|
||||
fvec4
|
||||
dvec2
|
||||
dvec3
|
||||
dvec4
|
||||
|
||||
on
|
||||
|
||||
final
|
||||
abstract
|
||||
limited
|
||||
access
|
||||
self
|
||||
|
||||
uchar
|
||||
schar
|
||||
uint
|
||||
sint
|
||||
|
||||
int8
|
||||
int16
|
||||
int32
|
||||
int64
|
||||
|
||||
sint8
|
||||
sint16
|
||||
sint32
|
||||
sint64
|
||||
|
||||
uint8
|
||||
uint16
|
||||
uint32
|
||||
uint64
|
||||
|
||||
float16
|
||||
float32
|
||||
float64
|
||||
|
||||
quat
|
||||
hquat
|
||||
fquat
|
||||
dquat
|
||||
|
||||
handle
|
||||
handle8
|
||||
handle16
|
||||
handle32
|
||||
handle64
|
||||
|
||||
flag
|
||||
flag8
|
||||
flag16
|
||||
flag32
|
||||
flag64
|
||||
|
||||
import
|
||||
export
|
||||
|
||||
hmat2
|
||||
hmat3
|
||||
hmat4
|
||||
|
||||
fmat2
|
||||
fmat3
|
||||
fmat4
|
||||
|
||||
dmat2
|
||||
dmat3
|
||||
dmat4
|
||||
|
||||
hmat2x3
|
||||
hmat3x2
|
||||
hmat2x4
|
||||
hmat4x2
|
||||
hmat3x4
|
||||
hmat4x3
|
||||
|
||||
fmat2x3
|
||||
fmat3x2
|
||||
fmat2x4
|
||||
fmat4x2
|
||||
fmat3x4
|
||||
fmat4x3
|
||||
|
||||
dmat2x3
|
||||
dmat3x2
|
||||
dmat2x4
|
||||
dmat4x2
|
||||
dmat3x4
|
||||
dmat4x3
|
||||
|
||||
null
|
||||
pi
|
||||
epsilon
|
||||
infinite
|
||||
self
|
||||
|
||||
byte
|
||||
word
|
||||
dword
|
||||
qword
|
||||
|
||||
new_object
|
||||
new_array
|
||||
delete_object
|
||||
delete_array
|
||||
|
||||
int8
|
||||
int16
|
||||
int32
|
||||
int64
|
||||
|
||||
i8
|
||||
i16
|
||||
i32
|
||||
i64
|
||||
|
||||
i8vec2
|
||||
i8vec3
|
||||
i8vec4
|
||||
|
||||
i16vec2
|
||||
i16vec3
|
||||
i16vec4
|
||||
|
||||
i32vec2
|
||||
i32vec3
|
||||
i32vec4
|
||||
|
||||
i64vec2
|
||||
i64vec3
|
||||
i64vec4
|
||||
|
||||
uint8
|
||||
uint16
|
||||
uint32
|
||||
uint64
|
||||
|
||||
u8
|
||||
u16
|
||||
u32
|
||||
u64
|
||||
|
||||
u8vec2
|
||||
u8vec3
|
||||
u8vec4
|
||||
|
||||
u16vec2
|
||||
u16vec3
|
||||
u16vec4
|
||||
|
||||
u32vec2
|
||||
u32vec3
|
||||
u32vec4
|
||||
|
||||
u64vec2
|
||||
u64vec3
|
||||
u64vec4
|
||||
|
||||
float16
|
||||
float32
|
||||
float64
|
||||
|
||||
f16
|
||||
f32
|
||||
f64
|
||||
|
||||
f16vec2
|
||||
f16vec3
|
||||
f16vec4
|
||||
|
||||
f32vec2
|
||||
f32vec3
|
||||
f32vec4
|
||||
|
||||
f64vec2
|
||||
f64vec3
|
||||
f64vec4
|
||||
|
||||
f16mat2
|
||||
f16mat3
|
||||
f16mat4
|
||||
|
||||
f16mat2x3
|
||||
f16mat2x4
|
||||
f16mat3x2
|
||||
f16mat3x4
|
||||
f16mat4x2
|
||||
f16mat4x3
|
||||
|
||||
f32mat2
|
||||
f32mat3
|
||||
f32mat4
|
||||
|
||||
f32mat2x3
|
||||
f32mat2x4
|
||||
f32mat3x2
|
||||
f32mat3x4
|
||||
f32mat4x2
|
||||
f32mat4x3
|
||||
|
||||
f64mat2
|
||||
f64mat3
|
||||
f64mat4
|
||||
|
||||
f64mat2x3
|
||||
f64mat2x4
|
||||
f64mat3x2
|
||||
f64mat3x4
|
||||
f64mat4x2
|
||||
f64mat4x3
|
||||
|
||||
f16quat
|
||||
f32quat
|
||||
f64quat
|
||||
|
||||
bool1
|
||||
bool2
|
||||
bool3
|
||||
bool4
|
||||
|
||||
bool1x1
|
||||
bool2x2
|
||||
bool3x3
|
||||
bool4x4
|
||||
|
||||
bool2x3
|
||||
bool2x4
|
||||
bool3x2
|
||||
bool3x4
|
||||
bool4x2
|
||||
bool4x3
|
||||
|
||||
int1
|
||||
int2
|
||||
int3
|
||||
int4
|
||||
|
||||
int1x1
|
||||
int2x2
|
||||
int3x3
|
||||
int4x4
|
||||
|
||||
int2x3
|
||||
int2x4
|
||||
int3x2
|
||||
int3x4
|
||||
int4x2
|
||||
int4x3
|
||||
|
||||
half1
|
||||
half2
|
||||
half3
|
||||
half4
|
||||
|
||||
half2x2
|
||||
half3x3
|
||||
half4x4
|
||||
|
||||
half2x3
|
||||
half2x4
|
||||
half3x2
|
||||
half3x4
|
||||
half4x2
|
||||
half4x3
|
||||
|
||||
float1
|
||||
float2
|
||||
float3
|
||||
float4
|
||||
|
||||
float1x1
|
||||
float2x2
|
||||
float3x3
|
||||
float4x4
|
||||
|
||||
float2x3
|
||||
float2x4
|
||||
float3x2
|
||||
float3x4
|
||||
float4x2
|
||||
float4x3
|
||||
|
||||
double1
|
||||
double2
|
||||
double3
|
||||
double4
|
||||
|
||||
double1x1
|
||||
double2x2
|
||||
double3x3
|
||||
double4x4
|
||||
|
||||
double2x3
|
||||
double2x4
|
||||
double3x2
|
||||
double3x4
|
||||
double4x2
|
||||
double4x3
|
||||
Reference in New Issue
Block a user