Jump to content

April 2017 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30       

Recent Entries

Recent Comments

View more

japro's journal

4: Adsense

More on Vectors and Matrices

My original plan for this second entry was to also add a matrix class that interacts with the vector class from my last journal entry. In the meanwhile Splinter of Chaos gave us a reason why we should use vectors in...

Implementing Vector types in C++

Vector types are used in almost any kind of game code. Position, velocity, acceleration, forces, points in polygons and polyhedra etc. are all using some sort of vector type. Writing a vector class isn't particularly hard, but since it's such a central part of the code it might be worth it to have a closer look. Over the last couple years I...