UNPKG

theorem.js

Version:

A Math library for computation in JavaScript

4 lines (3 loc) 59 B
angle2Vec(rad) { return [this.cos(rad), this.sin(rad)]; }