Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Solved] Problem with a grid and the bounding box #422642
05/14/13 07:44
05/14/13 07:44
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello,

I display a grid in my level. I have placed an object in my level. When I display a bounding box, I have a red line that connects the grid and the bounding box. How can I fix this?



Thanks for advance for your help Djfeeler

Last edited by rayp; 03/26/22 19:24. Reason: Removed Ukrain Images for Russian people.
Re: Problem with a grid and the bounding box [Re: djfeeler] #422644
05/14/13 07:52
05/14/13 07:52
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
You have to set the the color vector to NULL before you draw your bounding box:

Code:
draw_line3d(vector(x1,y1,0),NULL,100);


Re: Problem with a grid and the bounding box [Re: djfeeler] #422645
05/14/13 07:55
05/14/13 07:55
Joined: May 2013
Posts: 23
Somewhere
W
Wiseguy Offline
Newbie
Wiseguy  Offline
Newbie
W

Joined: May 2013
Posts: 23
Somewhere
Quoting the manual

Quote:
color - BGR end color of the line. The start color is the color of the last line draw call. The line is drawn in a smooth transition between the start and the end color. If NULL is given, no line is drawn, but the position is set for the start of the next line.


Please also take a look at the example.


His words are wise, his face is beard.
Re: Problem with a grid and the bounding box [Re: Wiseguy] #422646
05/14/13 08:00
05/14/13 08:00
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Thanks for your response.


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

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