rockbot/vektor — pull request #2 by rwldrn (2013-05-26 04:47:51+00:00)
Title: Replace calls to o.hasOwnProperty(p) with typeof x.p !== 'undefined'. Closes gh-1

Test results after changes

```bash
Create a homogenous matrix
✓ rotating about the z-axis by pi/2 radians
✓ rotating about the z-axis by pi/2 radians and translating by [1, 0, 0]
◦ rotating about the z-axis by pi/2 radians and the y-axis by pi/4 and translating by ✓ rotating about the z-axis by pi/2 radians and the y-axis by pi/4 and translating by [1, 0, 0]
✓ get the location of the transformed point

Creating matrices:
✓ should create a Matrix
✓ should create a square Matrix
2x2 matrices:
✓ should set a specific value
✓ should get the value at a specific location
✓ should add the two matrices together
✓ should multiply a vector by a matrix
✓ should multiply two matrices together
✓ should find the transpose of the matrix
3x3 matrices:
✓ should set a specific value
✓ should get the value at a specific location
✓ should add the two matrices together
✓ should multiply a vector by a matrix
✓ should multiply two matrices together
✓ should find the transpose of the matrix

Rotating a point about the z-axis
✓ should rotate it by pi/2 radians
✓ should rotate it by 90 degrees

Rotating a point about the y-axis
✓ should rotate it by pi/2 radians

Rotating a point about the x-axis
✓ should rotate it by pi/2 radians

Creating vectors:
✓ Should pass with 3 arguments
✓ Should pass with 2 arguments
✓ should pass with 1 argument as an object
✓ should pass with 1 argument as a vector

Between two vectors:
✓ should add two vectors easily
✓ should calculate the dot product
✓ should calculate the distance between the two
✓ should calculate the length of the vector

✔ 30 tests complete (76ms)
```