A4 Problem with an extra line

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
jkhippie
Posts: 218
Joined: March 24th, 2014, 5:11 pm

A4 Problem with an extra line

Post by jkhippie » September 7th, 2015, 1:37 am

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.

extraneous line.zip
(638.27 KiB) Downloaded 205 times
To strive, to seek, to find, and not to yield.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: A4 Problem with an extra line

Post by albinopapa » September 7th, 2015, 3:47 am

Here's the line you have

Code: Select all

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

Code: Select all

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

User avatar
jkhippie
Posts: 218
Joined: March 24th, 2014, 5:11 pm

Re: A4 Problem with an extra line

Post by jkhippie » September 7th, 2015, 3:53 pm

Thanks, ap. I looked right over that. It's always the simple stuff, eh?
To strive, to seek, to find, and not to yield.

Post Reply