Tartarus CVS: survex: olly

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sat May 6 18:56:48 BST 2006


CVS Root:       /usr/data/cvs
Module:         survex
Changes by:     olly
Date:           Sat May 06 2006  18:56:48 BST

Log message:
Add Point::Invalidate() and Point::IsValid() rather than directly setting
the x coordinate to DBL_MAX and testing that.
Add the mechanics to the OpenGL layer to allow a "wireframe" view of the tunnel
walls (not yet hooked up to the UI).
Add the mechanics to allow smooth shading (but we need to set normals before
we can useful turn this on).
Pass/return Vector3 instead of x,y,z triples in many places.
Factor out GfxCore::DrawArrow() from DrawCompass()/DrawClino().
Point class now uses Vector3 as a base class, so the vec() method is no longer
required.
Fix presentation playing to actually work (it wasn't storing the speed so it
never played...)
Inline GLACanvas::SetTranslation() and AddTranslation().
Vector3::set() renamed to Vector3::assign() for consistency with C++ STL.
Display altitude to 2 decimal places rather than the nearest metre/foot.
LabelInfo::GetText() now returns const ref to wxString rather than wxString.
Factor apart WIN32 and non-WIN32 versions of AvenAllowOnTop class as the
code is much clearer that way.

Modified files:
    src             : gfxcore.cc gfxcore.h gla-gl.cc gla.h
                      guicontrol.cc guicontrol.h mainfrm.cc mainfrm.h
                      printwx.cc quaternion.cc quaternion.h vector3.h

Links:
http://cvs.tartarus.org//survex/src/gfxcore.cc.diff?r1=1.165.2.160&r2=1.165.2.161
http://cvs.tartarus.org//survex/src/gfxcore.h.diff?r1=1.69.2.78&r2=1.69.2.79
http://cvs.tartarus.org//survex/src/gla-gl.cc.diff?r1=1.1.2.90&r2=1.1.2.91
http://cvs.tartarus.org//survex/src/gla.h.diff?r1=1.1.2.51&r2=1.1.2.52
http://cvs.tartarus.org//survex/src/guicontrol.cc.diff?r1=1.1.2.40&r2=1.1.2.41
http://cvs.tartarus.org//survex/src/guicontrol.h.diff?r1=1.1.2.19&r2=1.1.2.20
http://cvs.tartarus.org//survex/src/mainfrm.cc.diff?r1=1.140.2.128&r2=1.140.2.129
http://cvs.tartarus.org//survex/src/mainfrm.h.diff?r1=1.65.2.69&r2=1.65.2.70
http://cvs.tartarus.org//survex/src/printwx.cc.diff?r1=1.22.2.15&r2=1.22.2.16
http://cvs.tartarus.org//survex/src/quaternion.cc.diff?r1=1.3.2.3&r2=1.3.2.4
http://cvs.tartarus.org//survex/src/quaternion.h.diff?r1=1.5.2.7&r2=1.5.2.8
http://cvs.tartarus.org//survex/src/vector3.h.diff?r1=1.3.2.8&r2=1.3.2.9



More information about the tartarus-commits mailing list