Mantis - Croquet
Viewing Issue Advanced Details
884 Any feature always 02-14-05 22:45 02-14-05 23:39
elenzil  
 
normal  
new  
open  
none    
none  
0000884: [ENH] TTorus Improvements - scale, frameBox, twist
a few improvements to TTorus.

* implemented #scale, so that it works with a TEditBox.

* implemented a custom #frameBox which snugly fits the torus.

* added twist, a parameter for the number of times the texture will be twisted as it wraps around the donut. This is a TEXTURE deformation, not a GEOMETRY deformation.

twist screenshot:
http://www.citris-uc.org/hosted/projects/ith/screenshots/donut%20con%20twist.png [^]
 TTorusImprovements.1.cs [^] (4,243 bytes) 02-14-05 22:46

Notes
(0001150)
elenzil   
02-14-05 23:39   
small fix.
texture had a discontinuity at first cell.