-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLRL_CoordinateConversionMatrices.cpp
17 lines (15 loc) · 2 KB
/
LRL_CoordinateConversionMatrices.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "LRL_CoordinateConversionMatrices.h"
MatMN LRL_CoordinateConversionMatrices::S6_FROM_G6 = MatMN(6, 6, "0 0 0 0.5 0 0 0 0 0 0 0.5 0 0 0 0 0 0 0.5 -1 0 0 0 -0.5 -0.5 0 -1 0 -0.5 0 -0.5 0 0 -1 -0.5 -0.5 0");
MatMN LRL_CoordinateConversionMatrices::G6_FROM_S6 = MatMN(6, 6, "0 -1 -1 -1 -0 -0 -1 0 -1 -0 -1 -0 -1 -1 0 0 0 -1 2 0 -0 0 0 0 -0 2 -0 0 0 0 0 -0 2 0 0 0");
MatMN LRL_CoordinateConversionMatrices::G6_FROM_D7 = MatMN(6, 7, "1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 -1 -1 0 1 0 0 -1 0 -1 0 0 1 0 -1 -1 0 0 0 0 1");
MatMN LRL_CoordinateConversionMatrices::D7_FROM_G6 = MatMN(7, 6, "1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1 0 1 1 0 0 0 1");
MatMN LRL_CoordinateConversionMatrices::S6_FROM_D7 = MatMN(6, 7, "0 -0.5 -0.5 0 0.5 0 0 -0.5 0 -0.5 0 0 0.5 0 -0.5 -0.5 0 0 0 0 0.5 0 0.5 0.5 0 0 -0.5 -0.5 0.5 0 0.5 0 -0.5 0 -0.5 0.5 0.5 0 0 -0.5 -0.5 0");
MatMN LRL_CoordinateConversionMatrices::D7_FROM_S6 = MatMN(7, 6, "0 -1 -1 -1 0 0 -1 0 -1 0 -1 0 -1 -1 0 0 0 -1 0 0 0 -1 -1 -1 0 -1 -1 0 -1 -1 -1 0 -1 -1 0 -1 -1 -1 0 -1 -1 0");
L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