Issue #10442 has been updated by Egunov Dmitriy.


ping

----------------------------------------
Feature #10442: Helper methods to Vector class
https://bugs.ruby-lang.org/issues/10442#change-49998

* Author: Egunov Dmitriy
* Status: Open
* Priority: Normal
* Assignee: Marc-Andre Lafortune
* Category: lib
* Target version: 
----------------------------------------
Vector class missed some very helpful methods like angle between another vector and vector projection.

Patch attached. Please advice if more unit tests are needed.

---Files--------------------------------
vector_helpers.patch (1.44 KB)
angle_with.patch (1.12 KB)
angle_with.patch (1.59 KB)


-- 
https://bugs.ruby-lang.org/