mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-07 14:40:13 +00:00
sky debug removed
This commit is contained in:
parent
cb6a28f7c1
commit
9e9b331b3a
5
sky.cpp
5
sky.cpp
@ -203,14 +203,9 @@ void compute_skyvertices(const vector<sky_item>& sky) {
|
|||||||
|
|
||||||
int k = isize(vertices);
|
int k = isize(vertices);
|
||||||
|
|
||||||
println(hlog, "bb ", k);
|
|
||||||
|
|
||||||
color_t ccolor;
|
color_t ccolor;
|
||||||
for(int i=0; i<k; i++) ccolor = gradient(ccolor, vcolors[i], 0, 1, i+1);
|
for(int i=0; i<k; i++) ccolor = gradient(ccolor, vcolors[i], 0, 1, i+1);
|
||||||
|
|
||||||
println(hlog, "vertices = ", vertices);
|
|
||||||
println(hlog, "ccolor = ", ccolor);
|
|
||||||
|
|
||||||
hyperpoint ctr = Hypc;
|
hyperpoint ctr = Hypc;
|
||||||
for(auto& p: vertices) ctr = ctr + p;
|
for(auto& p: vertices) ctr = ctr + p;
|
||||||
normalize(ctr);
|
normalize(ctr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user