We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff23c6 commit 84bd28eCopy full SHA for 84bd28e
1 file changed
utils/geom.c
@@ -2552,13 +2552,13 @@ void display_prism_info(int indentby, prism *prsm)
2552
vector3 axis = prism_vector_p2c(prsm,z0);
2553
vector3 center = prism_coordinate_p2c(prsm,vector3_scale(0.5*height,z0));
2554
2555
- printf("%*s height %g, axis (%g,%g,%g), center (%g,%g,%g), %i vertices:\n",
2556
- indentby, "", height,axis.x,axis.y,axis.z,center.x,center.y,center.z,num_vertices);
+ printf("%*s height %g, axis (%g,%g,%g), %i vertices:\n",
+ indentby, "", height,axis.x,axis.y,axis.z,num_vertices);
2557
matrix3x3 m_p2c = matrix3x3_inverse(prsm->m_c2p);
2558
int nv;
2559
for(nv=0; nv<num_vertices; nv++)
2560
{ vector3 v = matrix3x3_vector3_mult(m_p2c, vertices[nv]);
2561
- printf("%*s {%e,%e,%e}\n",indentby,"",v.x,v.y,v.z);
+ printf("%*s {%g,%g,%g}\n",indentby,"",v.x,v.y,v.z);
2562
}
2563
2564
0 commit comments