I did some tricky code cleaning today. Look out for problems. 
Specifically what I did was to take all the rotation and centering 
methods that were scattered through TransformManager, Frame, and 
ModelManager and to consolidate them in TransformManager. It was a nasty 
job, but it went slowly but very smoothly, and the pay off is excellent. 
Now everything at all having to do with rotations and translations and 
zooming and spinning and rotating -- all that -- is in one place. Lots 
of basic code efficiencies were gained, and I spotted several weedy 
spots, which I pulled. 

The BIG payoff is that we have an extended moveTo command now that will 
also serve to recenter the model at a new rotation center, and it works 
correctly either with windowCentered TRUE or FALSE. It takes up to two 
additional parameters - a rotation center and a "rotationRadius" value. 
Mostly this is for the save orientation/restore orientation business, 
but it might also be useful for users. I have to play with it some.

Bob

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to