Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000882 [Croquet] Jasmine minor always 02-14-05 21:08 02-14-05 21:36
Reporter elenzil View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Product Build
Summary 0000882: TEditBox does not work with TTorus or TSphere
Description investigating..

------------------------------------------------

TeaTest new openInWorld.
TParticle allInstances last removeSelf.
space _ TSpace allInstances last.

d _ TTorus new.
space addChild: d.
d translationX: -10 y: 0 z: 0.
teb1 _ TEditBox new initializeWithContents: d.

c _ TCube new.
space addChild: c.
c translationX: 0 y: 0 z: 0.
teb2 _ TEditBox new initializeWithContents: c.

s _ TSphere new.
space addChild: s.
s translationX: 10 y: 0 z: 0.
teb3 _ TEditBox new initializeWithContents: s.


Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001148 - 126 - 138 - 138 - 138 - 138 - 138)
elenzil
02-14-05 21:11

it's probably because
#frameBox for TSPhere and TTorus is returning 0,0,0 instead of something correct.
still investigating.
 
(0001149 - 329 - 365 - 365 - 365 - 365 - 365)
elenzil
02-14-05 21:36

Changeset with fix.

Added a #frameBox to TPrimitive which just answers the box containging the boundingSphere. Primitives such as TCube can do better.
For that matter so can TTorus.

Note-
primitives still need to implement #scale themselves for the TEditBox's scale feature to work. I will be adding this to TTorus soon.
 

- Issue History
Date Modified Username Field Change
02-14-05 21:08 elenzil New Issue
02-14-05 21:11 elenzil Note Added: 0001148
02-14-05 21:36 elenzil Note Added: 0001149


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
35 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker