///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// 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.
///
/// @ref core
/// @file glm/glm.cpp
/// @date 2013-04-22 / 2013-04-22
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/dual_quaternion.hpp>
namespace glm
{
// tvec1 type explicit instantiation
template struct tvec1<uint8, lowp>;
template struct tvec1<uint16, lowp>;
template struct tvec1<uint32, lowp>;
template struct tvec1<uint64, lowp>;
template struct tvec1<int8, lowp>;
template struct tvec1<int16, lowp>;
template struct tvec1<int32, lowp>;
template struct tvec1<int64, lowp>;
template struct tvec1<float32, lowp>;
template struct tvec1<float64, lowp>;
template struct tvec1<uint8, mediump>;
template struct tvec1<uint16, mediump>;
template struct tvec1<uint32, mediump>;
template struct tvec1<uint64, mediump>;
template struct tvec1<int8, mediump>;
template struct tvec1<int16, mediump>;
template struct tvec1<int32, mediump>;
template struct tvec1<int64, mediump>;
template struct tvec1<float32, mediump>;
template struct tvec1<float64, mediump>;
template struct tvec1<uint8, highp>;
template struct tvec1<uint16, highp>;
template struct tvec1<uint32, highp>;
template struct tvec1<uint64, highp>;
template struct tvec1<int8, highp>;
template struct tvec1<int16, highp>;
template struct tvec1<int32, highp>;
template struct tvec1<int64, highp>;
template struct tvec1<float32, highp>;
template struct tvec1<float64, highp>;
// tvec2 type explicit instantiation
template struct tvec2<uint8, lowp>;
template struct tvec2<uint16, lowp>;
template struct tvec2<uint32, lowp>;
template struct tvec2<uint64, lowp>;
template struct tvec2<int8, lowp>;
template struct tvec2<int16, lowp>;
template struct tvec2<int32, lowp>;
template struct tvec2<int64, lowp>;
template struct tvec2<float32, lowp>;
template struct tvec2<float64, lowp>;
template struct tvec2<uint8, mediump>;
template struct tvec2<uint16, mediump>;
template struct tvec2<uint32, mediump>;
template struct tvec2<uint64, mediump>;
template struct tvec2<int8, mediump>;
template struct tvec2<int16, mediump>;
template struct tvec2<int32, mediump>;
template struct tvec2<int64, mediump>;
template struct tvec2<float32, mediump>;
template struct tvec2<float64, mediump>;
template struct tvec2<uint8, highp>;
template struct tvec2<uint16, highp>;
template struct tvec2<uint32, highp>;
template struct tvec2<uint64, highp>;
template struct tvec2<int8, highp>;
template struct tvec2<int16, highp>;
template struct tvec2<int32, highp>;
template struct tvec2<int64, highp>;
template struct tvec2<float32, highp>;
template struct tvec2<float64, highp>;
// tvec3 type explicit instantiation
template struct tvec3<uint8, lowp>;
template struct tvec3<uint16, lowp>;
template struct tvec3<uint32, lowp>;
template struct tvec3<uint64, lowp>;
template struct tvec3<int8, lowp>;
template struct tvec3<int16, lowp>;
template struct tvec3<int32, lowp>;
template struct tvec3<int64, lowp>;
template struct tvec3<float32, lowp>;
template struct tvec3<float64, lowp>;
template struct tvec3<uint8, mediump>;
template struct tvec3<uint16, mediump>;
template struct tvec3<uint32, mediump>;
template struct tvec3<uint64, mediump>;
template struct tvec3<int8, mediump>;
template struct tvec3<int16, mediump>;
template struct tvec3<int32, mediump>;
template struct tvec3<int64, mediump>;
template struct tvec3<float32, mediump>;
template struct tvec3<float64, mediump>;
template struct tvec3<uint8, highp>;
template struct tvec3<uint16, highp>;
template struct tvec3<uint32, highp>;
template struct tvec3<uint64, highp>;
template struct tvec3<int8, highp>;
template struct tvec3<int16, highp>;
template struct tvec3<int32, highp>;
template struct tvec3<int64, highp>;
template struct tvec3<float32, highp>;
template struct tvec3<float64, highp>;
// tvec4 type explicit instantiation
template struct tvec4<uint8, lowp>;
template struct tvec4<uint16, lowp>;
template struct tvec4<uint32, lowp>;
template struct tvec4<uint64, lowp>;
template struct tvec4<int8, lowp>;
template struct tvec4<int16, lowp>;
template struct tvec4<int32, lowp>;
template struct tvec4<int64, lowp>;
template struct tvec4<float32, lowp>;
template struct tvec4<float64, lowp>;
template struct tvec4<uint8, mediump>;
template struct tvec4<uint16, mediump>;
template struct tvec4<uint32, mediump>;
template struct tvec4<uint64, mediump>;
template struct tvec4<int8, mediump>;
template struct tvec4<int16, mediump>;
template struct tvec4<int32, mediump>;
template struct tvec4<int64, mediump>;
template struct tvec4<float32, mediump>;
template struct tvec4<float64, mediump>;
template struct tvec4<uint8, highp>;
template struct tvec4<uint16, highp>;
template struct tvec4<uint32, highp>;
template struct tvec4<uint64, highp>;
template struct tvec4<int8, highp>;
template struct tvec4<int16, highp>;
template struct tvec4<int32, highp>;
template struct tvec4<int64, highp>;
template struct tvec4<float32, highp>;
template struct tvec4<float64, highp>;
// tmat2x2 type explicit instantiation
template struct tmat2x2<float32, lowp>;
template struct tmat2x2<float64, lowp>;
template struct tmat2x2<float32, mediump>;
template struct tmat2x2<float64, mediump>;
template struct tmat2x2<float32, highp>;
template struct tmat2x2<float64, highp>;
// tmat2x3 type explicit instantiation
template struct tmat2x3<float32, lowp>;
template struct tmat2x3<float64, lowp>;
template struct tmat2x3<float32, mediump>;
template struct tmat2x3<float64, mediump>;
template struct tmat2x3<float32, highp>;
template struct tmat2x3<float64, highp>;
// tmat2x4 type explicit instantiation
template struct tmat2x4<float32, lowp>;
template struct tmat2x4<float64, lowp>;
template struct tmat2x4<float32, mediump>;
template struct tmat2x4<float64, mediump>;
template struct tmat2x4<float32, highp>;
template struct tmat2x4<float64, highp>;
// tmat3x2 type explicit instantiation
template struct tmat3x2<float32, lowp>;
template struct tmat3x2<float64, lowp>;
template struct tmat3x2<float32, mediump>;
template struct tmat3x2<float64, mediump>;
template struct tmat3x2<float32, highp>;
template struct tmat3x2<float64, highp>;
// tmat3x3 type explicit instantiation
template struct tmat3x3<float32, lowp>;
template struct tmat3x3<float64, lowp>;
template struct tmat3x3<float32, mediump>;
template struct tmat3x3<float64, mediump>
没有合适的资源?快使用搜索试试~ 我知道了~
在OpenGL中使用Shader
共366个文件
hpp:142个
inl:109个
h:76个
5星 · 超过95%的资源 需积分: 10 82 下载量 194 浏览量
2016-05-08
21:08:53
上传
评论 1
收藏 5.89MB RAR 举报
温馨提示
本资源是博客[Modern OpenGL系列(四)]在OpenGL中使用Shader的源码,下载前请先浏览我的博客文章。下载后请用VS2015打开。
资源推荐
资源详情
资源评论
收起资源包目录
在OpenGL中使用Shader (366个子文件)
glm.cpp 10KB
dummy.cpp 7KB
shader.cpp 3KB
display.cpp 1KB
mesh.cpp 751B
main.cpp 668B
OpenGLProject.VC.db 24.44MB
SDL2.dll 1023KB
glew32.dll 395KB
OpenGLProject.exe 123KB
OpenGLProject.vcxproj.filters 1KB
basicShader.fs 79B
glew.h 1014KB
SDL_opengl_glext.h 714KB
SDL_opengles2_gl2ext.h 96KB
SDL_opengl.h 80KB
glxew.h 73KB
SDL_egl.h 72KB
wglew.h 63KB
SDL_video.h 38KB
SDL_haptic.h 38KB
SDL_render.h 33KB
SDL_opengles2_gl2.h 31KB
SDL_hints.h 28KB
SDL_events.h 27KB
SDL_audio.h 24KB
SDL_surface.h 18KB
SDL_stdinc.h 18KB
SDL_pixels.h 16KB
SDL_scancode.h 15KB
SDL_keycode.h 14KB
SDL_test_fuzzer.h 13KB
SDL_assert.h 11KB
SDL_mouse.h 11KB
SDL_gamecontroller.h 11KB
SDL_thread.h 10KB
SDL_opengles2_khrplatform.h 10KB
SDL_atomic.h 9KB
SDL_joystick.h 9KB
SDL_syswm.h 8KB
SDL_system.h 7KB
SDL_rwops.h 7KB
SDL_mutex.h 7KB
SDL_log.h 6KB
SDL_keyboard.h 6KB
SDL_endian.h 6KB
SDL_config.h 6KB
SDL_shape.h 6KB
SDL_filesystem.h 5KB
SDL_version.h 5KB
SDL_test_common.h 5KB
SDL_platform.h 5KB
SDL_test_md5.h 5KB
SDL_messagebox.h 5KB
SDL_main.h 4KB
SDL_rect.h 4KB
SDL_test_harness.h 4KB
begin_code.h 4KB
SDL_cpuinfo.h 4KB
SDL.h 4KB
SDL_timer.h 3KB
SDL_test_crc32.h 3KB
SDL_test_assert.h 3KB
SDL_test_random.h 3KB
SDL_loadso.h 3KB
SDL_bits.h 2KB
SDL_power.h 2KB
SDL_test_font.h 2KB
SDL_touch.h 2KB
SDL_error.h 2KB
SDL_blendmode.h 2KB
SDL_test_images.h 2KB
SDL_test_compare.h 2KB
SDL_gesture.h 2KB
SDL_quit.h 2KB
SDL_test.h 2KB
SDL_clipboard.h 2KB
SDL_test_log.h 2KB
SDL_opengles2.h 1KB
close_code.h 1KB
SDL_opengles.h 1KB
SDL_name.h 1KB
SDL_types.h 1KB
SDL_opengles2_gl2platform.h 913B
mesh.h 556B
display.h 428B
shader.h 363B
SDL_revision.h 79B
fwd.hpp 82KB
_swizzle_func.hpp 64KB
_swizzle.hpp 55KB
type_mat.hpp 42KB
setup.hpp 37KB
type_aligned.hpp 35KB
type_vec.hpp 27KB
packing.hpp 26KB
type_precision.hpp 26KB
func_common.hpp 24KB
type_vec4.hpp 20KB
simd_vec4.hpp 18KB
共 366 条
- 1
- 2
- 3
- 4
资源评论
- zshtiger24142016-10-24多谢楼主的无私分享!!!!!
Sheh伟伟
- 粉丝: 58
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功