vrshoot
diff libs/assimp/MD2NormalTable.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/assimp/MD2NormalTable.h Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,217 @@ 1.4 +/* 1.5 +Open Asset Import Library (assimp) 1.6 +---------------------------------------------------------------------- 1.7 + 1.8 +Copyright (c) 2006-2012, assimp team 1.9 +All rights reserved. 1.10 + 1.11 +Redistribution and use of this software in source and binary forms, 1.12 +with or without modification, are permitted provided that the 1.13 +following conditions are met: 1.14 + 1.15 +* Redistributions of source code must retain the above 1.16 + copyright notice, this list of conditions and the 1.17 + following disclaimer. 1.18 + 1.19 +* Redistributions in binary form must reproduce the above 1.20 + copyright notice, this list of conditions and the 1.21 + following disclaimer in the documentation and/or other 1.22 + materials provided with the distribution. 1.23 + 1.24 +* Neither the name of the assimp team, nor the names of its 1.25 + contributors may be used to endorse or promote products 1.26 + derived from this software without specific prior 1.27 + written permission of the assimp team. 1.28 + 1.29 +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1.30 +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1.31 +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1.32 +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1.33 +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.34 +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 1.35 +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1.36 +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1.37 +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1.38 +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 1.39 +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.40 + 1.41 +---------------------------------------------------------------------- 1.42 +*/ 1.43 + 1.44 +/* 1.45 + * @file Slightly modified version of the anorms.h header file 1.46 + * released by ID software with the Quake 2 source code. 1.47 + * 1.48 + * Table of normals used by MD2 models 1.49 + */ 1.50 + 1.51 +#ifndef AI_MDL_NORMALTABLE_H_INC 1.52 +#define AI_MDL_NORMALTABLE_H_INC 1.53 + 1.54 + 1.55 +float g_avNormals[162][3] = { 1.56 +{ -0.525731f, 0.000000f, 0.850651f }, 1.57 +{ -0.442863f, 0.238856f, 0.864188f }, 1.58 +{ -0.295242f, 0.000000f, 0.955423f }, 1.59 +{ -0.309017f, 0.500000f, 0.809017f }, 1.60 +{ -0.162460f, 0.262866f, 0.951056f }, 1.61 +{ 0.000000f, 0.000000f, 1.000000f }, 1.62 +{ 0.000000f, 0.850651f, 0.525731f }, 1.63 +{ -0.147621f, 0.716567f, 0.681718f }, 1.64 +{ 0.147621f, 0.716567f, 0.681718f }, 1.65 +{ 0.000000f, 0.525731f, 0.850651f }, 1.66 +{ 0.309017f, 0.500000f, 0.809017f }, 1.67 +{ 0.525731f, 0.000000f, 0.850651f }, 1.68 +{ 0.295242f, 0.000000f, 0.955423f }, 1.69 +{ 0.442863f, 0.238856f, 0.864188f }, 1.70 +{ 0.162460f, 0.262866f, 0.951056f }, 1.71 +{ -0.681718f, 0.147621f, 0.716567f }, 1.72 +{ -0.809017f, 0.309017f, 0.500000f }, 1.73 +{ -0.587785f, 0.425325f, 0.688191f }, 1.74 +{ -0.850651f, 0.525731f, 0.000000f }, 1.75 +{ -0.864188f, 0.442863f, 0.238856f }, 1.76 +{ -0.716567f, 0.681718f, 0.147621f }, 1.77 +{ -0.688191f, 0.587785f, 0.425325f }, 1.78 +{ -0.500000f, 0.809017f, 0.309017f }, 1.79 +{ -0.238856f, 0.864188f, 0.442863f }, 1.80 +{ -0.425325f, 0.688191f, 0.587785f }, 1.81 +{ -0.716567f, 0.681718f, -0.147621f }, 1.82 +{ -0.500000f, 0.809017f, -0.309017f }, 1.83 +{ -0.525731f, 0.850651f, 0.000000f }, 1.84 +{ 0.000000f, 0.850651f, -0.525731f }, 1.85 +{ -0.238856f, 0.864188f, -0.442863f }, 1.86 +{ 0.000000f, 0.955423f, -0.295242f }, 1.87 +{ -0.262866f, 0.951056f, -0.162460f }, 1.88 +{ 0.000000f, 1.000000f, 0.000000f }, 1.89 +{ 0.000000f, 0.955423f, 0.295242f }, 1.90 +{ -0.262866f, 0.951056f, 0.162460f }, 1.91 +{ 0.238856f, 0.864188f, 0.442863f }, 1.92 +{ 0.262866f, 0.951056f, 0.162460f }, 1.93 +{ 0.500000f, 0.809017f, 0.309017f }, 1.94 +{ 0.238856f, 0.864188f, -0.442863f }, 1.95 +{ 0.262866f, 0.951056f, -0.162460f }, 1.96 +{ 0.500000f, 0.809017f, -0.309017f }, 1.97 +{ 0.850651f, 0.525731f, 0.000000f }, 1.98 +{ 0.716567f, 0.681718f, 0.147621f }, 1.99 +{ 0.716567f, 0.681718f, -0.147621f }, 1.100 +{ 0.525731f, 0.850651f, 0.000000f }, 1.101 +{ 0.425325f, 0.688191f, 0.587785f }, 1.102 +{ 0.864188f, 0.442863f, 0.238856f }, 1.103 +{ 0.688191f, 0.587785f, 0.425325f }, 1.104 +{ 0.809017f, 0.309017f, 0.500000f }, 1.105 +{ 0.681718f, 0.147621f, 0.716567f }, 1.106 +{ 0.587785f, 0.425325f, 0.688191f }, 1.107 +{ 0.955423f, 0.295242f, 0.000000f }, 1.108 +{ 1.000000f, 0.000000f, 0.000000f }, 1.109 +{ 0.951056f, 0.162460f, 0.262866f }, 1.110 +{ 0.850651f, -0.525731f, 0.000000f }, 1.111 +{ 0.955423f, -0.295242f, 0.000000f }, 1.112 +{ 0.864188f, -0.442863f, 0.238856f }, 1.113 +{ 0.951056f, -0.162460f, 0.262866f }, 1.114 +{ 0.809017f, -0.309017f, 0.500000f }, 1.115 +{ 0.681718f, -0.147621f, 0.716567f }, 1.116 +{ 0.850651f, 0.000000f, 0.525731f }, 1.117 +{ 0.864188f, 0.442863f, -0.238856f }, 1.118 +{ 0.809017f, 0.309017f, -0.500000f }, 1.119 +{ 0.951056f, 0.162460f, -0.262866f }, 1.120 +{ 0.525731f, 0.000000f, -0.850651f }, 1.121 +{ 0.681718f, 0.147621f, -0.716567f }, 1.122 +{ 0.681718f, -0.147621f, -0.716567f }, 1.123 +{ 0.850651f, 0.000000f, -0.525731f }, 1.124 +{ 0.809017f, -0.309017f, -0.500000f }, 1.125 +{ 0.864188f, -0.442863f, -0.238856f }, 1.126 +{ 0.951056f, -0.162460f, -0.262866f }, 1.127 +{ 0.147621f, 0.716567f, -0.681718f }, 1.128 +{ 0.309017f, 0.500000f, -0.809017f }, 1.129 +{ 0.425325f, 0.688191f, -0.587785f }, 1.130 +{ 0.442863f, 0.238856f, -0.864188f }, 1.131 +{ 0.587785f, 0.425325f, -0.688191f }, 1.132 +{ 0.688191f, 0.587785f, -0.425325f }, 1.133 +{ -0.147621f, 0.716567f, -0.681718f }, 1.134 +{ -0.309017f, 0.500000f, -0.809017f }, 1.135 +{ 0.000000f, 0.525731f, -0.850651f }, 1.136 +{ -0.525731f, 0.000000f, -0.850651f }, 1.137 +{ -0.442863f, 0.238856f, -0.864188f }, 1.138 +{ -0.295242f, 0.000000f, -0.955423f }, 1.139 +{ -0.162460f, 0.262866f, -0.951056f }, 1.140 +{ 0.000000f, 0.000000f, -1.000000f }, 1.141 +{ 0.295242f, 0.000000f, -0.955423f }, 1.142 +{ 0.162460f, 0.262866f, -0.951056f }, 1.143 +{ -0.442863f, -0.238856f, -0.864188f }, 1.144 +{ -0.309017f, -0.500000f, -0.809017f }, 1.145 +{ -0.162460f, -0.262866f, -0.951056f }, 1.146 +{ 0.000000f, -0.850651f, -0.525731f }, 1.147 +{ -0.147621f, -0.716567f, -0.681718f }, 1.148 +{ 0.147621f, -0.716567f, -0.681718f }, 1.149 +{ 0.000000f, -0.525731f, -0.850651f }, 1.150 +{ 0.309017f, -0.500000f, -0.809017f }, 1.151 +{ 0.442863f, -0.238856f, -0.864188f }, 1.152 +{ 0.162460f, -0.262866f, -0.951056f }, 1.153 +{ 0.238856f, -0.864188f, -0.442863f }, 1.154 +{ 0.500000f, -0.809017f, -0.309017f }, 1.155 +{ 0.425325f, -0.688191f, -0.587785f }, 1.156 +{ 0.716567f, -0.681718f, -0.147621f }, 1.157 +{ 0.688191f, -0.587785f, -0.425325f }, 1.158 +{ 0.587785f, -0.425325f, -0.688191f }, 1.159 +{ 0.000000f, -0.955423f, -0.295242f }, 1.160 +{ 0.000000f, -1.000000f, 0.000000f }, 1.161 +{ 0.262866f, -0.951056f, -0.162460f }, 1.162 +{ 0.000000f, -0.850651f, 0.525731f }, 1.163 +{ 0.000000f, -0.955423f, 0.295242f }, 1.164 +{ 0.238856f, -0.864188f, 0.442863f }, 1.165 +{ 0.262866f, -0.951056f, 0.162460f }, 1.166 +{ 0.500000f, -0.809017f, 0.309017f }, 1.167 +{ 0.716567f, -0.681718f, 0.147621f }, 1.168 +{ 0.525731f, -0.850651f, 0.000000f }, 1.169 +{ -0.238856f, -0.864188f, -0.442863f }, 1.170 +{ -0.500000f, -0.809017f, -0.309017f }, 1.171 +{ -0.262866f, -0.951056f, -0.162460f }, 1.172 +{ -0.850651f, -0.525731f, 0.000000f }, 1.173 +{ -0.716567f, -0.681718f, -0.147621f }, 1.174 +{ -0.716567f, -0.681718f, 0.147621f }, 1.175 +{ -0.525731f, -0.850651f, 0.000000f }, 1.176 +{ -0.500000f, -0.809017f, 0.309017f }, 1.177 +{ -0.238856f, -0.864188f, 0.442863f }, 1.178 +{ -0.262866f, -0.951056f, 0.162460f }, 1.179 +{ -0.864188f, -0.442863f, 0.238856f }, 1.180 +{ -0.809017f, -0.309017f, 0.500000f }, 1.181 +{ -0.688191f, -0.587785f, 0.425325f }, 1.182 +{ -0.681718f, -0.147621f, 0.716567f }, 1.183 +{ -0.442863f, -0.238856f, 0.864188f }, 1.184 +{ -0.587785f, -0.425325f, 0.688191f }, 1.185 +{ -0.309017f, -0.500000f, 0.809017f }, 1.186 +{ -0.147621f, -0.716567f, 0.681718f }, 1.187 +{ -0.425325f, -0.688191f, 0.587785f }, 1.188 +{ -0.162460f, -0.262866f, 0.951056f }, 1.189 +{ 0.442863f, -0.238856f, 0.864188f }, 1.190 +{ 0.162460f, -0.262866f, 0.951056f }, 1.191 +{ 0.309017f, -0.500000f, 0.809017f }, 1.192 +{ 0.147621f, -0.716567f, 0.681718f }, 1.193 +{ 0.000000f, -0.525731f, 0.850651f }, 1.194 +{ 0.425325f, -0.688191f, 0.587785f }, 1.195 +{ 0.587785f, -0.425325f, 0.688191f }, 1.196 +{ 0.688191f, -0.587785f, 0.425325f }, 1.197 +{ -0.955423f, 0.295242f, 0.000000f }, 1.198 +{ -0.951056f, 0.162460f, 0.262866f }, 1.199 +{ -1.000000f, 0.000000f, 0.000000f }, 1.200 +{ -0.850651f, 0.000000f, 0.525731f }, 1.201 +{ -0.955423f, -0.295242f, 0.000000f }, 1.202 +{ -0.951056f, -0.162460f, 0.262866f }, 1.203 +{ -0.864188f, 0.442863f, -0.238856f }, 1.204 +{ -0.951056f, 0.162460f, -0.262866f }, 1.205 +{ -0.809017f, 0.309017f, -0.500000f }, 1.206 +{ -0.864188f, -0.442863f, -0.238856f }, 1.207 +{ -0.951056f, -0.162460f, -0.262866f }, 1.208 +{ -0.809017f, -0.309017f, -0.500000f }, 1.209 +{ -0.681718f, 0.147621f, -0.716567f }, 1.210 +{ -0.681718f, -0.147621f, -0.716567f }, 1.211 +{ -0.850651f, 0.000000f, -0.525731f }, 1.212 +{ -0.688191f, 0.587785f, -0.425325f }, 1.213 +{ -0.587785f, 0.425325f, -0.688191f }, 1.214 +{ -0.425325f, 0.688191f, -0.587785f }, 1.215 +{ -0.425325f, -0.688191f, -0.587785f }, 1.216 +{ -0.587785f, -0.425325f, -0.688191f }, 1.217 +{ -0.688191f, -0.587785f, -0.425325f } 1.218 +}; 1.219 + 1.220 +#endif // !! include guard