fixed a bug in rotspace raycasting

This commit is contained in:
Zeno Rogue 2020-07-28 16:43:46 +02:00
parent c9168b59bd
commit 18c96d4e62
1 changed files with 1 additions and 1 deletions

View File

@ -2060,7 +2060,7 @@ EX namespace rots {
std::unordered_map<int, transmatrix> saved_matrices_ray;
EX transmatrix ray_iadj(cell *c1, int i) {
if(i == c1->type-1) return uzpush(+cgi.plevel) * spin(-2*cgi.plevel);
if(i == c1->type-1) return uzpush(-cgi.plevel) * spin(-2*cgi.plevel);
if(i == c1->type-2) return uzpush(+cgi.plevel) * spin(+2*cgi.plevel);
cell *c2 = c1->cmove(i);
int id1 = hybrid::underlying == gArchimedean ? arcm::id_of(c1->master) + 20 * arcm::parent_index_of(c1->master) : shvid(c1);