mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-20 17:06:13 +01:00
5e0a0765ce
The `.editorconfig` file in this repo is configured to trim all trailing whitespace regardless of whether the line is modified. Trims all trailing whitespace in the repository to make the codebase easier to work with in editors that respect `.editorconfig`. `git blame` becomes less useful on these lines but it already isn't very useful. Commands: ``` find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ ```
178 lines
5.8 KiB
C
178 lines
5.8 KiB
C
/***
|
|
*
|
|
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
|
*
|
|
* This product contains software technology licensed from Id
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
|
* All Rights Reserved.
|
|
*
|
|
* Use, distribution, and modification of this source code and/or resulting
|
|
* object code is restricted to non-commercial enhancements to products from
|
|
* Valve LLC. All other use, distribution, or modification is prohibited
|
|
* without written permission from Valve LLC.
|
|
*
|
|
****/
|
|
|
|
{-0.525731, 0.000000, 0.850651},
|
|
{-0.442863, 0.238856, 0.864188},
|
|
{-0.295242, 0.000000, 0.955423},
|
|
{-0.309017, 0.500000, 0.809017},
|
|
{-0.162460, 0.262866, 0.951056},
|
|
{0.000000, 0.000000, 1.000000},
|
|
{0.000000, 0.850651, 0.525731},
|
|
{-0.147621, 0.716567, 0.681718},
|
|
{0.147621, 0.716567, 0.681718},
|
|
{0.000000, 0.525731, 0.850651},
|
|
{0.309017, 0.500000, 0.809017},
|
|
{0.525731, 0.000000, 0.850651},
|
|
{0.295242, 0.000000, 0.955423},
|
|
{0.442863, 0.238856, 0.864188},
|
|
{0.162460, 0.262866, 0.951056},
|
|
{-0.681718, 0.147621, 0.716567},
|
|
{-0.809017, 0.309017, 0.500000},
|
|
{-0.587785, 0.425325, 0.688191},
|
|
{-0.850651, 0.525731, 0.000000},
|
|
{-0.864188, 0.442863, 0.238856},
|
|
{-0.716567, 0.681718, 0.147621},
|
|
{-0.688191, 0.587785, 0.425325},
|
|
{-0.500000, 0.809017, 0.309017},
|
|
{-0.238856, 0.864188, 0.442863},
|
|
{-0.425325, 0.688191, 0.587785},
|
|
{-0.716567, 0.681718, -0.147621},
|
|
{-0.500000, 0.809017, -0.309017},
|
|
{-0.525731, 0.850651, 0.000000},
|
|
{0.000000, 0.850651, -0.525731},
|
|
{-0.238856, 0.864188, -0.442863},
|
|
{0.000000, 0.955423, -0.295242},
|
|
{-0.262866, 0.951056, -0.162460},
|
|
{0.000000, 1.000000, 0.000000},
|
|
{0.000000, 0.955423, 0.295242},
|
|
{-0.262866, 0.951056, 0.162460},
|
|
{0.238856, 0.864188, 0.442863},
|
|
{0.262866, 0.951056, 0.162460},
|
|
{0.500000, 0.809017, 0.309017},
|
|
{0.238856, 0.864188, -0.442863},
|
|
{0.262866, 0.951056, -0.162460},
|
|
{0.500000, 0.809017, -0.309017},
|
|
{0.850651, 0.525731, 0.000000},
|
|
{0.716567, 0.681718, 0.147621},
|
|
{0.716567, 0.681718, -0.147621},
|
|
{0.525731, 0.850651, 0.000000},
|
|
{0.425325, 0.688191, 0.587785},
|
|
{0.864188, 0.442863, 0.238856},
|
|
{0.688191, 0.587785, 0.425325},
|
|
{0.809017, 0.309017, 0.500000},
|
|
{0.681718, 0.147621, 0.716567},
|
|
{0.587785, 0.425325, 0.688191},
|
|
{0.955423, 0.295242, 0.000000},
|
|
{1.000000, 0.000000, 0.000000},
|
|
{0.951056, 0.162460, 0.262866},
|
|
{0.850651, -0.525731, 0.000000},
|
|
{0.955423, -0.295242, 0.000000},
|
|
{0.864188, -0.442863, 0.238856},
|
|
{0.951056, -0.162460, 0.262866},
|
|
{0.809017, -0.309017, 0.500000},
|
|
{0.681718, -0.147621, 0.716567},
|
|
{0.850651, 0.000000, 0.525731},
|
|
{0.864188, 0.442863, -0.238856},
|
|
{0.809017, 0.309017, -0.500000},
|
|
{0.951056, 0.162460, -0.262866},
|
|
{0.525731, 0.000000, -0.850651},
|
|
{0.681718, 0.147621, -0.716567},
|
|
{0.681718, -0.147621, -0.716567},
|
|
{0.850651, 0.000000, -0.525731},
|
|
{0.809017, -0.309017, -0.500000},
|
|
{0.864188, -0.442863, -0.238856},
|
|
{0.951056, -0.162460, -0.262866},
|
|
{0.147621, 0.716567, -0.681718},
|
|
{0.309017, 0.500000, -0.809017},
|
|
{0.425325, 0.688191, -0.587785},
|
|
{0.442863, 0.238856, -0.864188},
|
|
{0.587785, 0.425325, -0.688191},
|
|
{0.688191, 0.587785, -0.425325},
|
|
{-0.147621, 0.716567, -0.681718},
|
|
{-0.309017, 0.500000, -0.809017},
|
|
{0.000000, 0.525731, -0.850651},
|
|
{-0.525731, 0.000000, -0.850651},
|
|
{-0.442863, 0.238856, -0.864188},
|
|
{-0.295242, 0.000000, -0.955423},
|
|
{-0.162460, 0.262866, -0.951056},
|
|
{0.000000, 0.000000, -1.000000},
|
|
{0.295242, 0.000000, -0.955423},
|
|
{0.162460, 0.262866, -0.951056},
|
|
{-0.442863, -0.238856, -0.864188},
|
|
{-0.309017, -0.500000, -0.809017},
|
|
{-0.162460, -0.262866, -0.951056},
|
|
{0.000000, -0.850651, -0.525731},
|
|
{-0.147621, -0.716567, -0.681718},
|
|
{0.147621, -0.716567, -0.681718},
|
|
{0.000000, -0.525731, -0.850651},
|
|
{0.309017, -0.500000, -0.809017},
|
|
{0.442863, -0.238856, -0.864188},
|
|
{0.162460, -0.262866, -0.951056},
|
|
{0.238856, -0.864188, -0.442863},
|
|
{0.500000, -0.809017, -0.309017},
|
|
{0.425325, -0.688191, -0.587785},
|
|
{0.716567, -0.681718, -0.147621},
|
|
{0.688191, -0.587785, -0.425325},
|
|
{0.587785, -0.425325, -0.688191},
|
|
{0.000000, -0.955423, -0.295242},
|
|
{0.000000, -1.000000, 0.000000},
|
|
{0.262866, -0.951056, -0.162460},
|
|
{0.000000, -0.850651, 0.525731},
|
|
{0.000000, -0.955423, 0.295242},
|
|
{0.238856, -0.864188, 0.442863},
|
|
{0.262866, -0.951056, 0.162460},
|
|
{0.500000, -0.809017, 0.309017},
|
|
{0.716567, -0.681718, 0.147621},
|
|
{0.525731, -0.850651, 0.000000},
|
|
{-0.238856, -0.864188, -0.442863},
|
|
{-0.500000, -0.809017, -0.309017},
|
|
{-0.262866, -0.951056, -0.162460},
|
|
{-0.850651, -0.525731, 0.000000},
|
|
{-0.716567, -0.681718, -0.147621},
|
|
{-0.716567, -0.681718, 0.147621},
|
|
{-0.525731, -0.850651, 0.000000},
|
|
{-0.500000, -0.809017, 0.309017},
|
|
{-0.238856, -0.864188, 0.442863},
|
|
{-0.262866, -0.951056, 0.162460},
|
|
{-0.864188, -0.442863, 0.238856},
|
|
{-0.809017, -0.309017, 0.500000},
|
|
{-0.688191, -0.587785, 0.425325},
|
|
{-0.681718, -0.147621, 0.716567},
|
|
{-0.442863, -0.238856, 0.864188},
|
|
{-0.587785, -0.425325, 0.688191},
|
|
{-0.309017, -0.500000, 0.809017},
|
|
{-0.147621, -0.716567, 0.681718},
|
|
{-0.425325, -0.688191, 0.587785},
|
|
{-0.162460, -0.262866, 0.951056},
|
|
{0.442863, -0.238856, 0.864188},
|
|
{0.162460, -0.262866, 0.951056},
|
|
{0.309017, -0.500000, 0.809017},
|
|
{0.147621, -0.716567, 0.681718},
|
|
{0.000000, -0.525731, 0.850651},
|
|
{0.425325, -0.688191, 0.587785},
|
|
{0.587785, -0.425325, 0.688191},
|
|
{0.688191, -0.587785, 0.425325},
|
|
{-0.955423, 0.295242, 0.000000},
|
|
{-0.951056, 0.162460, 0.262866},
|
|
{-1.000000, 0.000000, 0.000000},
|
|
{-0.850651, 0.000000, 0.525731},
|
|
{-0.955423, -0.295242, 0.000000},
|
|
{-0.951056, -0.162460, 0.262866},
|
|
{-0.864188, 0.442863, -0.238856},
|
|
{-0.951056, 0.162460, -0.262866},
|
|
{-0.809017, 0.309017, -0.500000},
|
|
{-0.864188, -0.442863, -0.238856},
|
|
{-0.951056, -0.162460, -0.262866},
|
|
{-0.809017, -0.309017, -0.500000},
|
|
{-0.681718, 0.147621, -0.716567},
|
|
{-0.681718, -0.147621, -0.716567},
|
|
{-0.850651, 0.000000, -0.525731},
|
|
{-0.688191, 0.587785, -0.425325},
|
|
{-0.587785, 0.425325, -0.688191},
|
|
{-0.425325, 0.688191, -0.587785},
|
|
{-0.425325, -0.688191, -0.587785},
|
|
{-0.587785, -0.425325, -0.688191},
|
|
{-0.688191, -0.587785, -0.425325},
|