mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-09 12:52:49 +00:00
removed MAXMDIM == 4 guards in Euclidean
This commit is contained in:
parent
f46967efb9
commit
0cc24cf982
@ -10,8 +10,6 @@ namespace hr {
|
|||||||
|
|
||||||
// 3D Euclidean space
|
// 3D Euclidean space
|
||||||
|
|
||||||
#if MAXMDIM == 4
|
|
||||||
|
|
||||||
EX namespace euclid3 {
|
EX namespace euclid3 {
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
@ -971,8 +969,6 @@ EX namespace euclid3 {
|
|||||||
#endif
|
#endif
|
||||||
EX }
|
EX }
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
EX int dscalar(gp::loc e1, gp::loc e2) {
|
EX int dscalar(gp::loc e1, gp::loc e2) {
|
||||||
return 2 * (e1.first * e2.first + e1.second*e2.second) + (S3 == 3 ? e1.first*e2.second + e2.first * e1.second : 0);
|
return 2 * (e1.first * e2.first + e1.second*e2.second) + (S3 == 3 ? e1.first*e2.second + e2.first * e1.second : 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user