mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +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
|
||||
|
||||
#if MAXMDIM == 4
|
||||
|
||||
EX namespace euclid3 {
|
||||
|
||||
#if HDR
|
||||
@ -971,8 +969,6 @@ EX namespace euclid3 {
|
||||
#endif
|
||||
EX }
|
||||
|
||||
#endif
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user