Tag: class

  • Vector2D AS3 Class

    Custom class dependencies: Trig Working with vectors – Part 1, Part 2, Part 3 This is my second post regarding my vector class quest. The first post was about the utility that I decided to create for all those very useful trigonometric functions that are always popping up in almost every complex piece of code…

  • Trig AS3 Class

    Custom class dependencies: None Working with vectors – Part 1, Part 2, Part 3 What is a ‘vector’? Well, it is just 2 numbers used for one thing. It is a direction and a distance. You can also call these two things properties, and these properties can also be called the angle and the magnitude.…