vrshoot

annotate libs/assimp/MDCNormalTable.h @ 1:e7ca128b8713

looks nice :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 00:35:22 +0200
parents
children
rev   line source
nuclear@0 1 /* -----------------------------------------------------------------------------
nuclear@0 2
nuclear@0 3 PicoModel Library
nuclear@0 4
nuclear@0 5 Copyright (c) 2002, Randy Reddig & seaw0lf
nuclear@0 6 All rights reserved.
nuclear@0 7
nuclear@0 8 Redistribution and use in source and binary forms, with or without modification,
nuclear@0 9 are permitted provided that the following conditions are met:
nuclear@0 10
nuclear@0 11 Redistributions of source code must retain the above copyright notice, this list
nuclear@0 12 of conditions and the following disclaimer.
nuclear@0 13
nuclear@0 14 Redistributions in binary form must reproduce the above copyright notice, this
nuclear@0 15 list of conditions and the following disclaimer in the documentation and/or
nuclear@0 16 other materials provided with the distribution.
nuclear@0 17
nuclear@0 18 Neither the names of the copyright holders nor the names of its contributors may
nuclear@0 19 be used to endorse or promote products derived from this software without
nuclear@0 20 specific prior written permission.
nuclear@0 21
nuclear@0 22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
nuclear@0 23 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
nuclear@0 24 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
nuclear@0 25 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
nuclear@0 26 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
nuclear@0 27 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
nuclear@0 28 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
nuclear@0 29 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
nuclear@0 30 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
nuclear@0 31 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
nuclear@0 32
nuclear@0 33 ----------------------------------------------------------------------------- */
nuclear@0 34
nuclear@0 35 #if (!defined MDC_NORMAL_TABLE_INCLUDED)
nuclear@0 36 #define MDC_NORMAL_TABLE_INCLUDED
nuclear@0 37
nuclear@0 38 /* mdc decoding normal table */
nuclear@0 39 float mdcNormals[ 256 ][ 3 ] =
nuclear@0 40 {
nuclear@0 41 { 1.000000f, 0.000000f, 0.000000f },
nuclear@0 42 { 0.980785f, 0.195090f, 0.000000f },
nuclear@0 43 { 0.923880f, 0.382683f, 0.000000f },
nuclear@0 44 { 0.831470f, 0.555570f, 0.000000f },
nuclear@0 45 { 0.707107f, 0.707107f, 0.000000f },
nuclear@0 46 { 0.555570f, 0.831470f, 0.000000f },
nuclear@0 47 { 0.382683f, 0.923880f, 0.000000f },
nuclear@0 48 { 0.195090f, 0.980785f, 0.000000f },
nuclear@0 49 { -0.000000f, 1.000000f, 0.000000f },
nuclear@0 50 { -0.195090f, 0.980785f, 0.000000f },
nuclear@0 51 { -0.382683f, 0.923880f, 0.000000f },
nuclear@0 52 { -0.555570f, 0.831470f, 0.000000f },
nuclear@0 53 { -0.707107f, 0.707107f, 0.000000f },
nuclear@0 54 { -0.831470f, 0.555570f, 0.000000f },
nuclear@0 55 { -0.923880f, 0.382683f, 0.000000f },
nuclear@0 56 { -0.980785f, 0.195090f, 0.000000f },
nuclear@0 57 { -1.000000f, -0.000000f, 0.000000f },
nuclear@0 58 { -0.980785f, -0.195090f, 0.000000f },
nuclear@0 59 { -0.923880f, -0.382683f, 0.000000f },
nuclear@0 60 { -0.831470f, -0.555570f, 0.000000f },
nuclear@0 61 { -0.707107f, -0.707107f, 0.000000f },
nuclear@0 62 { -0.555570f, -0.831469f, 0.000000f },
nuclear@0 63 { -0.382684f, -0.923880f, 0.000000f },
nuclear@0 64 { -0.195090f, -0.980785f, 0.000000f },
nuclear@0 65 { 0.000000f, -1.000000f, 0.000000f },
nuclear@0 66 { 0.195090f, -0.980785f, 0.000000f },
nuclear@0 67 { 0.382684f, -0.923879f, 0.000000f },
nuclear@0 68 { 0.555570f, -0.831470f, 0.000000f },
nuclear@0 69 { 0.707107f, -0.707107f, 0.000000f },
nuclear@0 70 { 0.831470f, -0.555570f, 0.000000f },
nuclear@0 71 { 0.923880f, -0.382683f, 0.000000f },
nuclear@0 72 { 0.980785f, -0.195090f, 0.000000f },
nuclear@0 73 { 0.980785f, 0.000000f, -0.195090f },
nuclear@0 74 { 0.956195f, 0.218245f, -0.195090f },
nuclear@0 75 { 0.883657f, 0.425547f, -0.195090f },
nuclear@0 76 { 0.766809f, 0.611510f, -0.195090f },
nuclear@0 77 { 0.611510f, 0.766809f, -0.195090f },
nuclear@0 78 { 0.425547f, 0.883657f, -0.195090f },
nuclear@0 79 { 0.218245f, 0.956195f, -0.195090f },
nuclear@0 80 { -0.000000f, 0.980785f, -0.195090f },
nuclear@0 81 { -0.218245f, 0.956195f, -0.195090f },
nuclear@0 82 { -0.425547f, 0.883657f, -0.195090f },
nuclear@0 83 { -0.611510f, 0.766809f, -0.195090f },
nuclear@0 84 { -0.766809f, 0.611510f, -0.195090f },
nuclear@0 85 { -0.883657f, 0.425547f, -0.195090f },
nuclear@0 86 { -0.956195f, 0.218245f, -0.195090f },
nuclear@0 87 { -0.980785f, -0.000000f, -0.195090f },
nuclear@0 88 { -0.956195f, -0.218245f, -0.195090f },
nuclear@0 89 { -0.883657f, -0.425547f, -0.195090f },
nuclear@0 90 { -0.766809f, -0.611510f, -0.195090f },
nuclear@0 91 { -0.611510f, -0.766809f, -0.195090f },
nuclear@0 92 { -0.425547f, -0.883657f, -0.195090f },
nuclear@0 93 { -0.218245f, -0.956195f, -0.195090f },
nuclear@0 94 { 0.000000f, -0.980785f, -0.195090f },
nuclear@0 95 { 0.218245f, -0.956195f, -0.195090f },
nuclear@0 96 { 0.425547f, -0.883657f, -0.195090f },
nuclear@0 97 { 0.611510f, -0.766809f, -0.195090f },
nuclear@0 98 { 0.766809f, -0.611510f, -0.195090f },
nuclear@0 99 { 0.883657f, -0.425547f, -0.195090f },
nuclear@0 100 { 0.956195f, -0.218245f, -0.195090f },
nuclear@0 101 { 0.923880f, 0.000000f, -0.382683f },
nuclear@0 102 { 0.892399f, 0.239118f, -0.382683f },
nuclear@0 103 { 0.800103f, 0.461940f, -0.382683f },
nuclear@0 104 { 0.653281f, 0.653281f, -0.382683f },
nuclear@0 105 { 0.461940f, 0.800103f, -0.382683f },
nuclear@0 106 { 0.239118f, 0.892399f, -0.382683f },
nuclear@0 107 { -0.000000f, 0.923880f, -0.382683f },
nuclear@0 108 { -0.239118f, 0.892399f, -0.382683f },
nuclear@0 109 { -0.461940f, 0.800103f, -0.382683f },
nuclear@0 110 { -0.653281f, 0.653281f, -0.382683f },
nuclear@0 111 { -0.800103f, 0.461940f, -0.382683f },
nuclear@0 112 { -0.892399f, 0.239118f, -0.382683f },
nuclear@0 113 { -0.923880f, -0.000000f, -0.382683f },
nuclear@0 114 { -0.892399f, -0.239118f, -0.382683f },
nuclear@0 115 { -0.800103f, -0.461940f, -0.382683f },
nuclear@0 116 { -0.653282f, -0.653281f, -0.382683f },
nuclear@0 117 { -0.461940f, -0.800103f, -0.382683f },
nuclear@0 118 { -0.239118f, -0.892399f, -0.382683f },
nuclear@0 119 { 0.000000f, -0.923880f, -0.382683f },
nuclear@0 120 { 0.239118f, -0.892399f, -0.382683f },
nuclear@0 121 { 0.461940f, -0.800103f, -0.382683f },
nuclear@0 122 { 0.653281f, -0.653282f, -0.382683f },
nuclear@0 123 { 0.800103f, -0.461940f, -0.382683f },
nuclear@0 124 { 0.892399f, -0.239117f, -0.382683f },
nuclear@0 125 { 0.831470f, 0.000000f, -0.555570f },
nuclear@0 126 { 0.790775f, 0.256938f, -0.555570f },
nuclear@0 127 { 0.672673f, 0.488726f, -0.555570f },
nuclear@0 128 { 0.488726f, 0.672673f, -0.555570f },
nuclear@0 129 { 0.256938f, 0.790775f, -0.555570f },
nuclear@0 130 { -0.000000f, 0.831470f, -0.555570f },
nuclear@0 131 { -0.256938f, 0.790775f, -0.555570f },
nuclear@0 132 { -0.488726f, 0.672673f, -0.555570f },
nuclear@0 133 { -0.672673f, 0.488726f, -0.555570f },
nuclear@0 134 { -0.790775f, 0.256938f, -0.555570f },
nuclear@0 135 { -0.831470f, -0.000000f, -0.555570f },
nuclear@0 136 { -0.790775f, -0.256938f, -0.555570f },
nuclear@0 137 { -0.672673f, -0.488726f, -0.555570f },
nuclear@0 138 { -0.488725f, -0.672673f, -0.555570f },
nuclear@0 139 { -0.256938f, -0.790775f, -0.555570f },
nuclear@0 140 { 0.000000f, -0.831470f, -0.555570f },
nuclear@0 141 { 0.256938f, -0.790775f, -0.555570f },
nuclear@0 142 { 0.488725f, -0.672673f, -0.555570f },
nuclear@0 143 { 0.672673f, -0.488726f, -0.555570f },
nuclear@0 144 { 0.790775f, -0.256938f, -0.555570f },
nuclear@0 145 { 0.707107f, 0.000000f, -0.707107f },
nuclear@0 146 { 0.653281f, 0.270598f, -0.707107f },
nuclear@0 147 { 0.500000f, 0.500000f, -0.707107f },
nuclear@0 148 { 0.270598f, 0.653281f, -0.707107f },
nuclear@0 149 { -0.000000f, 0.707107f, -0.707107f },
nuclear@0 150 { -0.270598f, 0.653282f, -0.707107f },
nuclear@0 151 { -0.500000f, 0.500000f, -0.707107f },
nuclear@0 152 { -0.653281f, 0.270598f, -0.707107f },
nuclear@0 153 { -0.707107f, -0.000000f, -0.707107f },
nuclear@0 154 { -0.653281f, -0.270598f, -0.707107f },
nuclear@0 155 { -0.500000f, -0.500000f, -0.707107f },
nuclear@0 156 { -0.270598f, -0.653281f, -0.707107f },
nuclear@0 157 { 0.000000f, -0.707107f, -0.707107f },
nuclear@0 158 { 0.270598f, -0.653281f, -0.707107f },
nuclear@0 159 { 0.500000f, -0.500000f, -0.707107f },
nuclear@0 160 { 0.653282f, -0.270598f, -0.707107f },
nuclear@0 161 { 0.555570f, 0.000000f, -0.831470f },
nuclear@0 162 { 0.481138f, 0.277785f, -0.831470f },
nuclear@0 163 { 0.277785f, 0.481138f, -0.831470f },
nuclear@0 164 { -0.000000f, 0.555570f, -0.831470f },
nuclear@0 165 { -0.277785f, 0.481138f, -0.831470f },
nuclear@0 166 { -0.481138f, 0.277785f, -0.831470f },
nuclear@0 167 { -0.555570f, -0.000000f, -0.831470f },
nuclear@0 168 { -0.481138f, -0.277785f, -0.831470f },
nuclear@0 169 { -0.277785f, -0.481138f, -0.831470f },
nuclear@0 170 { 0.000000f, -0.555570f, -0.831470f },
nuclear@0 171 { 0.277785f, -0.481138f, -0.831470f },
nuclear@0 172 { 0.481138f, -0.277785f, -0.831470f },
nuclear@0 173 { 0.382683f, 0.000000f, -0.923880f },
nuclear@0 174 { 0.270598f, 0.270598f, -0.923880f },
nuclear@0 175 { -0.000000f, 0.382683f, -0.923880f },
nuclear@0 176 { -0.270598f, 0.270598f, -0.923880f },
nuclear@0 177 { -0.382683f, -0.000000f, -0.923880f },
nuclear@0 178 { -0.270598f, -0.270598f, -0.923880f },
nuclear@0 179 { 0.000000f, -0.382683f, -0.923880f },
nuclear@0 180 { 0.270598f, -0.270598f, -0.923880f },
nuclear@0 181 { 0.195090f, 0.000000f, -0.980785f },
nuclear@0 182 { -0.000000f, 0.195090f, -0.980785f },
nuclear@0 183 { -0.195090f, -0.000000f, -0.980785f },
nuclear@0 184 { 0.000000f, -0.195090f, -0.980785f },
nuclear@0 185 { 0.980785f, 0.000000f, 0.195090f },
nuclear@0 186 { 0.956195f, 0.218245f, 0.195090f },
nuclear@0 187 { 0.883657f, 0.425547f, 0.195090f },
nuclear@0 188 { 0.766809f, 0.611510f, 0.195090f },
nuclear@0 189 { 0.611510f, 0.766809f, 0.195090f },
nuclear@0 190 { 0.425547f, 0.883657f, 0.195090f },
nuclear@0 191 { 0.218245f, 0.956195f, 0.195090f },
nuclear@0 192 { -0.000000f, 0.980785f, 0.195090f },
nuclear@0 193 { -0.218245f, 0.956195f, 0.195090f },
nuclear@0 194 { -0.425547f, 0.883657f, 0.195090f },
nuclear@0 195 { -0.611510f, 0.766809f, 0.195090f },
nuclear@0 196 { -0.766809f, 0.611510f, 0.195090f },
nuclear@0 197 { -0.883657f, 0.425547f, 0.195090f },
nuclear@0 198 { -0.956195f, 0.218245f, 0.195090f },
nuclear@0 199 { -0.980785f, -0.000000f, 0.195090f },
nuclear@0 200 { -0.956195f, -0.218245f, 0.195090f },
nuclear@0 201 { -0.883657f, -0.425547f, 0.195090f },
nuclear@0 202 { -0.766809f, -0.611510f, 0.195090f },
nuclear@0 203 { -0.611510f, -0.766809f, 0.195090f },
nuclear@0 204 { -0.425547f, -0.883657f, 0.195090f },
nuclear@0 205 { -0.218245f, -0.956195f, 0.195090f },
nuclear@0 206 { 0.000000f, -0.980785f, 0.195090f },
nuclear@0 207 { 0.218245f, -0.956195f, 0.195090f },
nuclear@0 208 { 0.425547f, -0.883657f, 0.195090f },
nuclear@0 209 { 0.611510f, -0.766809f, 0.195090f },
nuclear@0 210 { 0.766809f, -0.611510f, 0.195090f },
nuclear@0 211 { 0.883657f, -0.425547f, 0.195090f },
nuclear@0 212 { 0.956195f, -0.218245f, 0.195090f },
nuclear@0 213 { 0.923880f, 0.000000f, 0.382683f },
nuclear@0 214 { 0.892399f, 0.239118f, 0.382683f },
nuclear@0 215 { 0.800103f, 0.461940f, 0.382683f },
nuclear@0 216 { 0.653281f, 0.653281f, 0.382683f },
nuclear@0 217 { 0.461940f, 0.800103f, 0.382683f },
nuclear@0 218 { 0.239118f, 0.892399f, 0.382683f },
nuclear@0 219 { -0.000000f, 0.923880f, 0.382683f },
nuclear@0 220 { -0.239118f, 0.892399f, 0.382683f },
nuclear@0 221 { -0.461940f, 0.800103f, 0.382683f },
nuclear@0 222 { -0.653281f, 0.653281f, 0.382683f },
nuclear@0 223 { -0.800103f, 0.461940f, 0.382683f },
nuclear@0 224 { -0.892399f, 0.239118f, 0.382683f },
nuclear@0 225 { -0.923880f, -0.000000f, 0.382683f },
nuclear@0 226 { -0.892399f, -0.239118f, 0.382683f },
nuclear@0 227 { -0.800103f, -0.461940f, 0.382683f },
nuclear@0 228 { -0.653282f, -0.653281f, 0.382683f },
nuclear@0 229 { -0.461940f, -0.800103f, 0.382683f },
nuclear@0 230 { -0.239118f, -0.892399f, 0.382683f },
nuclear@0 231 { 0.000000f, -0.923880f, 0.382683f },
nuclear@0 232 { 0.239118f, -0.892399f, 0.382683f },
nuclear@0 233 { 0.461940f, -0.800103f, 0.382683f },
nuclear@0 234 { 0.653281f, -0.653282f, 0.382683f },
nuclear@0 235 { 0.800103f, -0.461940f, 0.382683f },
nuclear@0 236 { 0.892399f, -0.239117f, 0.382683f },
nuclear@0 237 { 0.831470f, 0.000000f, 0.555570f },
nuclear@0 238 { 0.790775f, 0.256938f, 0.555570f },
nuclear@0 239 { 0.672673f, 0.488726f, 0.555570f },
nuclear@0 240 { 0.488726f, 0.672673f, 0.555570f },
nuclear@0 241 { 0.256938f, 0.790775f, 0.555570f },
nuclear@0 242 { -0.000000f, 0.831470f, 0.555570f },
nuclear@0 243 { -0.256938f, 0.790775f, 0.555570f },
nuclear@0 244 { -0.488726f, 0.672673f, 0.555570f },
nuclear@0 245 { -0.672673f, 0.488726f, 0.555570f },
nuclear@0 246 { -0.790775f, 0.256938f, 0.555570f },
nuclear@0 247 { -0.831470f, -0.000000f, 0.555570f },
nuclear@0 248 { -0.790775f, -0.256938f, 0.555570f },
nuclear@0 249 { -0.672673f, -0.488726f, 0.555570f },
nuclear@0 250 { -0.488725f, -0.672673f, 0.555570f },
nuclear@0 251 { -0.256938f, -0.790775f, 0.555570f },
nuclear@0 252 { 0.000000f, -0.831470f, 0.555570f },
nuclear@0 253 { 0.256938f, -0.790775f, 0.555570f },
nuclear@0 254 { 0.488725f, -0.672673f, 0.555570f },
nuclear@0 255 { 0.672673f, -0.488726f, 0.555570f },
nuclear@0 256 { 0.790775f, -0.256938f, 0.555570f },
nuclear@0 257 { 0.707107f, 0.000000f, 0.707107f },
nuclear@0 258 { 0.653281f, 0.270598f, 0.707107f },
nuclear@0 259 { 0.500000f, 0.500000f, 0.707107f },
nuclear@0 260 { 0.270598f, 0.653281f, 0.707107f },
nuclear@0 261 { -0.000000f, 0.707107f, 0.707107f },
nuclear@0 262 { -0.270598f, 0.653282f, 0.707107f },
nuclear@0 263 { -0.500000f, 0.500000f, 0.707107f },
nuclear@0 264 { -0.653281f, 0.270598f, 0.707107f },
nuclear@0 265 { -0.707107f, -0.000000f, 0.707107f },
nuclear@0 266 { -0.653281f, -0.270598f, 0.707107f },
nuclear@0 267 { -0.500000f, -0.500000f, 0.707107f },
nuclear@0 268 { -0.270598f, -0.653281f, 0.707107f },
nuclear@0 269 { 0.000000f, -0.707107f, 0.707107f },
nuclear@0 270 { 0.270598f, -0.653281f, 0.707107f },
nuclear@0 271 { 0.500000f, -0.500000f, 0.707107f },
nuclear@0 272 { 0.653282f, -0.270598f, 0.707107f },
nuclear@0 273 { 0.555570f, 0.000000f, 0.831470f },
nuclear@0 274 { 0.481138f, 0.277785f, 0.831470f },
nuclear@0 275 { 0.277785f, 0.481138f, 0.831470f },
nuclear@0 276 { -0.000000f, 0.555570f, 0.831470f },
nuclear@0 277 { -0.277785f, 0.481138f, 0.831470f },
nuclear@0 278 { -0.481138f, 0.277785f, 0.831470f },
nuclear@0 279 { -0.555570f, -0.000000f, 0.831470f },
nuclear@0 280 { -0.481138f, -0.277785f, 0.831470f },
nuclear@0 281 { -0.277785f, -0.481138f, 0.831470f },
nuclear@0 282 { 0.000000f, -0.555570f, 0.831470f },
nuclear@0 283 { 0.277785f, -0.481138f, 0.831470f },
nuclear@0 284 { 0.481138f, -0.277785f, 0.831470f },
nuclear@0 285 { 0.382683f, 0.000000f, 0.923880f },
nuclear@0 286 { 0.270598f, 0.270598f, 0.923880f },
nuclear@0 287 { -0.000000f, 0.382683f, 0.923880f },
nuclear@0 288 { -0.270598f, 0.270598f, 0.923880f },
nuclear@0 289 { -0.382683f, -0.000000f, 0.923880f },
nuclear@0 290 { -0.270598f, -0.270598f, 0.923880f },
nuclear@0 291 { 0.000000f, -0.382683f, 0.923880f },
nuclear@0 292 { 0.270598f, -0.270598f, 0.923880f },
nuclear@0 293 { 0.195090f, 0.000000f, 0.980785f },
nuclear@0 294 { -0.000000f, 0.195090f, 0.980785f },
nuclear@0 295 { -0.195090f, -0.000000f, 0.980785f },
nuclear@0 296 { 0.000000f, -0.195090f, 0.980785f }
nuclear@0 297 };
nuclear@0 298
nuclear@0 299 #endif // !! MDC_NORMAL_TABLE_INCLUDED