• Advertisement


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

Proper square vertices?

This topic is 5117 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