← Back to team overview

yade-dev team mailing list archive

Re: [Yade-commits] r1040 - in trunk: yade-core/src/yade yade-guis/yade-gui-qt/src/QtGUI yade-libs/yade-lib-base yade-libs/yade-lib-computational-geometry/src/yade-lib-computational-geometry yade-libs/yade-lib-serialization-qt/src/yade-lib-serialization-qt yade-packages/yade-package-dem/src/PreProcessor/Funnel yade-packages/yade-package-dem/src/PreProcessor/IsotropicCompressionTest yade-packages/yade-package-dem/src/PreProcessor/SDECImpactTest yade-packages/yade-package-dem/src/PreProcessor/SDECLinkedSpheres yade-packages/yade-package-dem/src/PreProcessor/SDECMovingWall yade-packages/yade-package-dem/src/PreProcessor/SDECSpheresPlane yade-packages/yade-package-dem/src/PreProcessor/TetrahedronsTest yade-packages/yade-package-dem/src/PreProcessor/TriaxialTest yade-packages/yade-package-fem/src/PreProcessor/FEMBeam yade-packages/yade-package-lattice/src/DataClass/PhysicalParameters/LatticeBeamParameters yade-packages/yade-package-lattice/src/Engine/EngineUnit/LatticeSet2LatticeBeams yade-! packages/yade-package-lattice/src/Engine/StandAloneEngine/MeasurePoisson yade-packages/yade-package-lattice/src/Engine/StandAloneEngine/StrainRecorder yade-packages/yade-package-lattice/src/PreProcessor/LatticeExample yade-packages/yade-package-lattice/src/RenderingEngine yade-packages/yade-package-lattice/src/RenderingEngine/GLDrawLatticeSetGeometry yade-packages/yade-package-lattice/src/RenderingEngine/GLDrawLineSegment yade-packages/yade-package-mass-spring/src/PreProcessor/HangingCloth

 

cosurgi at BerliOS said:     (by the date of Sat, 20 Jan 2007 13:11:31 +0100)

> +	{ // 'T' changes the projection type : perspective or orthogonal
> +		if (camera()->type() == qglviewer::Camera::ORTHOGRAPHIC)
> +			camera()->setType(qglviewer::Camera::PERSPECTIVE);
> +		else
> +			camera()->setType(qglviewer::Camera::ORTHOGRAPHIC);
> +		updateGL();

oops I forgot to mention that 't' toggles perspective on/off

-- 
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev