/[libvob]/libvob/include/vob/vobs/Fillet.hxx
ViewVC logotype

Diff of /libvob/include/vob/vobs/Fillet.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by jvk, Fri Jun 13 12:13:36 2003 UTC revision 1.15 by jvk, Sat Jun 14 07:53:04 2003 UTC
# Line 169  struct FilletSpan2 { Line 169  struct FilletSpan2 {
169    
170      void v(ZVec p) const {      void v(ZVec p) const {
171          if(flags & 4) {          if(flags & 4) {
172              glColor3f(1, p.z / 100, p.z / 100);              glColor3f(1, p.z / 800, p.z / 800);
173          }          }
174          glVertex(p);          glVertex(p);
175      }      }
176    
177      void vl(ZVec p) const {      void vl(ZVec p) const {
178          if(flags & 4) {          if(flags & 4) {
179              glColor3f(0,p.z / 100, p.z / 100);              glColor3f(0,p.z / 800, p.z / 800);
180          }          }
181          glVertex(p);          glVertex(p);
182      }      }
# Line 285  struct FilletSpan2 { Line 285  struct FilletSpan2 {
285    
286          float csize = crad(t0);          float csize = crad(t0);
287    
288          Conn conn1(thick_t, angle_t, t0, t1, d1);          Conn conn1(thick_t, angle_t, t0, t1, 0.5 * (p1 - ctr).length());
289          Conn conn2(thick_t, angle_t, t0, t2, d2);          Conn conn2(thick_t, angle_t, t0, t2, 0.5 * (p2 - ctr).length());
290    
291          float th1 = conn1.th;          float th1 = conn1.th;
292          float th2 = conn2.th;          float th2 = conn2.th;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26