You need to sign in or sign up before continuing.
Select Git revision
themes.html
Forked from
713 / Warden / Warden - archive
Source project has a limited visibility.
tables.ts 46.50 KiB
/**
* Copyright (c) 2018-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
export const TransformData = [
[1.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0],
[-1.0, 0.0, 0.0, 0.0],
[0.0, -1.0, 0.0, 0.0],
[0.0, 0.0, -1.0, 0.0],
[0.0, 1.0, 0.0, 0.5],
[1.0, 0.0, 0.0, 0.5],
[-1.0, 0.0, 0.0, 0.5],
[0.0, 0.0, 1.0, 0.5],
[0.0, -1.0, 0.0, 0.5],
[0.0, 0.0, -1.0, 0.5],
[1.0, 0.0, 0.0, 0.25],
[0.0, -1.0, 0.0, 0.25],
[0.0, 0.0, 1.0, 0.25],
[-1.0, 0.0, 0.0, 0.25],
[0.0, 1.0, 0.0, 0.25],
[0.0, -1.0, 0.0, 0.75],
[0.0, 0.0, 1.0, 0.75],
[0.0, 1.0, 0.0, 0.75],
[1.0, 0.0, 0.0, 0.75],
[-1.0, 0.0, 0.0, 0.75],
[0.0, 0.0, -1.0, 0.25],
[0.0, 0.0, -1.0, 0.75],
[1.0, -1.0, 0.0, 0.0],
[-1.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 1 / 3],
[0.0, 0.0, 1.0, 2 / 3],
[1.0, 0.0, 0.0, 2 / 3],
[0.0, 1.0, 0.0, 1 / 3],
[0.0, -1.0, 0.0, 2 / 3],
[1.0, -1.0, 0.0, 1 / 3],
[-1.0, 1.0, 0.0, 2 / 3],
[-1.0, 0.0, 0.0, 1 / 3],
[1.0, 0.0, 0.0, 1 / 3],
[0.0, 1.0, 0.0, 2 / 3],
[0.0, -1.0, 0.0, 1 / 3],
[1.0, -1.0, 0.0, 2 / 3],
[-1.0, 1.0, 0.0, 1 / 3],
[-1.0, 0.0, 0.0, 2 / 3],
[0.0, 0.0, -1.0, 1 / 3],
[0.0, 0.0, -1.0, 2 / 3],
[0.0, 0.0, 1.0, 5 / 6],
[0.0, 0.0, 1.0, 1 / 6],
[0.0, 0.0, -1.0, 5 / 6],
[0.0, 0.0, -1.0, 1 / 6],
];
export const OperatorData = [
[0, 1, 2],
[3, 4, 5],
[3, 1, 5],
[3, 6, 5],
[7, 6, 2],
[8, 6, 5],
[0, 4, 2],
[0, 4, 9],
[7, 10, 2],
[7, 10, 9],
[0, 10, 2],
[8, 10, 5],
[3, 1, 11],