Added: 5 months ago
From: iGunSlingeRv2
Views: 809
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Dude, I'm newbie on C++, how can i create my own vector class? What is the Vector3.h? Help please.

  • @ramesaliyev i say you would have to learn what a vector is. If you are going to be making games then you will be using vectors here and there so learn it. A Vector3.h is basically the class header for my Vector3. A simple explanation of creating a Vector3 class is that it contains x, y, z coordinates. You can have a function to set them and get them or just have them public to access them directly or set them in the constructor. Get familiar with vectors. Google it if you have to

  • Does this video require that I have already built out my own vector class?

    Great tutorial by the way. This is exactly what I needed.

  • @FacelessProjects If you dont already have a vector class then yes you will need to create it. Thanks, glad i can help

  • You don't need the public keyword in a struct. Structs are public as standard. Classes are private as standard. Also, use "const int WorldSize = 64;" rather than #define "WORLD_SIZE 64"

  • @captainsurrey oh didnt realize that haha. I forgot to take it out because I had it as a class before instead of a struct. Thanks for pointing it out though

  • Awesome video thanks for uploading this. 

  • @alexwhb122 no problem. if you have any questions let me know. Enjoy :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more