Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,027 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Entity: height, width? #133495
06/03/07 13:37
06/03/07 13:37
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
Hello,

How we can have the height and width data of an entity?
with z, y and x

Thank you,
Julien

Re: Entity: height, width? [Re: Julientdc] #133496
06/03/07 14:17
06/03/07 14:17
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
Code:

var mySize[3];
entity* ent0;
/************************************
efSize0
*************************************/
function efSize0(_ent, &_size) {
if (_ent == 0) { return(0); }
ent0 = _ent;
_size[0] = ent0.max_x - ent0.min_x;
_size[1] = ent0.max_y - ent0.min_y;
_size[2] = ent0.max_z - ent0.min_z;
return(1);
}
// ...
// efSize0(my, mySize);
// mySize.x <- my length
// mySize.y <- my width
// mySize.z <- my height


edited: it was supposed to be 'modular'

Re: Entity: height, width? [Re: testDummy] #133497
06/03/07 14:55
06/03/07 14:55
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
Thank you, that work


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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