Gamestudio Links
Zorro Links
Newest Posts
Icon "OP"
by AndrewAMD. 10/27/26 06:06
No connection to MT4
by JeyKey II. 10/26/26 22:59
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
Algorithmic trading course with Zorro
by Haitao_Ren. 10/25/26 03:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (JeyKey II, AndrewAMD, Quad, TipmyPip), 4,373 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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,211
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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,211
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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 | 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