fguihen Posted September 20, 2004 Posted September 20, 2004 im creating a simple represntation of a person, which is only a filled in circle in gdi. i want to assign speed and direction to it. do i have to create a class, or struct called vector, or is there a datatype already there that takes in a speed and an angle ? Quote
Administrators PlausiblyDamp Posted September 20, 2004 Administrators Posted September 20, 2004 If you are using DirectX then you get Vector2, Vector3 and Vector4 (for 2d, 3d and 4d vectors). Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
fguihen Posted September 20, 2004 Author Posted September 20, 2004 what about if im just using GID to start off with ? do i create my own vector class? Quote
Administrators PlausiblyDamp Posted September 20, 2004 Administrators Posted September 20, 2004 In that case yes. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.