Update sub_lj.c
This commit is contained in:
parent
beda260068
commit
30fc3e5a8b
1
sub_lj.c
1
sub_lj.c
@ -3313,6 +3313,7 @@ void draw_one_particle(t_particle particle, double xc, double yc, double radius,
|
|||||||
xc1 -= xtrack;
|
xc1 -= xtrack;
|
||||||
yc1 = yc - ytrack;
|
yc1 = yc - ytrack;
|
||||||
}
|
}
|
||||||
|
else yc1 = yc;
|
||||||
glColor3f(rgb[0], rgb[1], rgb[2]);
|
glColor3f(rgb[0], rgb[1], rgb[2]);
|
||||||
if ((particle.interaction == I_LJ_QUADRUPOLE)||(particle.interaction == I_LJ_DIPOLE))
|
if ((particle.interaction == I_LJ_QUADRUPOLE)||(particle.interaction == I_LJ_DIPOLE))
|
||||||
draw_colored_rhombus(xc1, yc1, radius, angle + APOLY*PID, rgb);
|
draw_colored_rhombus(xc1, yc1, radius, angle + APOLY*PID, rgb);
|
||||||
|
Loading…
Reference in New Issue
Block a user