Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SSJCORY

Proper square vertices?

This topic is 5322 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Would these vertices form a square? I would test them if I had the sdk, but i''m gettin dsl on wednesday and then i''ll download it. Here they are:
		sVertex vertices[] = {
			{ 250.0f,  50.0f,  1.0f, 1.0f, 0.0f, 0.0f, },
			{ 50.0f,  50.0f, 1.0f, 1.0f, 1.0f, 0.0f, },
			{ 50.0f,   250.0f, 1.0f, 1.0f, 0.0f, 1.0f, },
			{ 250.0f,  50.0f, 1.0f, 1.0f, 1.0f, 1.0f, },
			{ 250.0f,  250.0f,  1.0f, 1.0f, 1.0f, 1.0f, },
			{ 50.0f,   250.0f, 1.0f, 1.0f, 1.0f, 1.0f, },
			{ 250.0f,  50.0f, 1.0f, 1.0f, 1.0f, 1.0f,},
			
		};
I am using triangle strips. If this isn''t right can someone tell me what vertices would be?
Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!