A vector class.

Signature | Description |
---|---|

Vector3D() | Creates an empty vector i.e. x = y = z = 0 |

Vector3D(x, y, z) | Creates a vector with its x,y,z, properties set to the x,y,z values passed into the constructor |

Name | Type | Description |
---|---|---|

x | Number | The x component of the vector |

y | Number | The y component of the vector |

z | Number | The z component of the vector |

Name and Signature | Return Type | Description |
---|

Name | Description |
---|