Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,246 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pXent_getbounds #383600
09/22/11 13:11
09/22/11 13:11
Joined: Sep 2011
Posts: 11
X
Xyro Offline OP
Newbie
Xyro  Offline OP
Newbie
X

Joined: Sep 2011
Posts: 11
Can anyone explain me how this function works and what it returns, because I looked it up here : http://www.conitec.net/beta/pXent_getbounds.htm

But they don't explain the format the bounds are returned in.

Re: pXent_getbounds [Re: Xyro] #383604
09/22/11 13:28
09/22/11 13:28
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
it returns 1 if successful, 0 otherwise.

The manual page says it sets the vecOut to dimensions of the bounding box.


3333333333
Re: pXent_getbounds [Re: Quad] #383606
09/22/11 14:06
09/22/11 14:06
Joined: Sep 2011
Posts: 11
X
Xyro Offline OP
Newbie
Xyro  Offline OP
Newbie
X

Joined: Sep 2011
Posts: 11
yea but what format is vecOut, a vector with the width, height en depth of a object or 2 vectors describing the bounding box ?

Re: pXent_getbounds [Re: Xyro] #383608
09/22/11 14:13
09/22/11 14:13
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
vector is probably in VECTOR format. a single vector with width, depth and height.

you can then use model's orientation to figure out where the actual box is.


3333333333

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1