Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post Posted: September 7th, 2015, 1:37 am 
User avatar

Joined: March 24th, 2014, 5:11 pm
Posts: 218
It seems I have an extraneous line being draw with my model. I can't pin down where it's coming from. Any help on this would be appreciated.


Attachment:
extraneous line.zip [638.27 KiB]
Downloaded 23 times

_________________
To strive, to seek, to find, and not to yield.


Top 
 Profile  
Reply with quote  
 Post Posted: September 7th, 2015, 3:47 am 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2842
Location: Oklahoma, United States
Here's the line you have
Code:
gfx.DrawLineClip(vertices.back().Rotation(angle) * scale + pos, vertices.front() * scale + pos, color);

this is what it should be
Code:
gfx.DrawLineClip(vertices.back().Rotation(angle) * scale + pos, vertices.front().Rotation(angle) * scale + pos, color);

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post Posted: September 7th, 2015, 3:53 pm 
User avatar

Joined: March 24th, 2014, 5:11 pm
Posts: 218
Thanks, ap. I looked right over that. It's always the simple stuff, eh?

_________________
To strive, to seek, to find, and not to yield.


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 3 posts ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron