Jump to content
  • Advertisement

Archived

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

SSJCORY

Proper square vertices?

This topic is 5409 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!