mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-04 10:42:51 +00:00
Fix default lambda args & extra semicolon.
This commit is contained in:
parent
c7f8cafc28
commit
2939191fa1
@ -1254,7 +1254,7 @@ hpcshape& geometry_information::generate_pipe(ld length, ld width, ePipeEnd endt
|
|||||||
|
|
||||||
const int MAX_X = 8;
|
const int MAX_X = 8;
|
||||||
const int MAX_R = 20;
|
const int MAX_R = 20;
|
||||||
auto at = [&] (ld i, ld a, ld z = 1, ld s = 1) {
|
auto at = [&] (ld i, ld a, ld z, ld s) {
|
||||||
a += 0.5;
|
a += 0.5;
|
||||||
ld alpha = 360 * degree * a / MAX_R;
|
ld alpha = 360 * degree * a / MAX_R;
|
||||||
hpcpush(xpush(i * length / MAX_X) * cspin(1, 2, alpha) * ypush0(width*z));
|
hpcpush(xpush(i * length / MAX_X) * cspin(1, 2, alpha) * ypush0(width*z));
|
||||||
|
2
reg3.cpp
2
reg3.cpp
@ -1752,7 +1752,7 @@ EX namespace reg3 {
|
|||||||
auto m = dynamic_cast<hrmap_h3*> (currentmap);
|
auto m = dynamic_cast<hrmap_h3*> (currentmap);
|
||||||
if(!m) throw hr_exception("get_size_of_fv incorrect");
|
if(!m) throw hr_exception("get_size_of_fv incorrect");
|
||||||
return m->quotient_map->acells[aid]->type;
|
return m->quotient_map->acells[aid]->type;
|
||||||
};
|
}
|
||||||
|
|
||||||
struct hrmap_sphere3 : hrmap_closed3 {
|
struct hrmap_sphere3 : hrmap_closed3 {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user