Issue #10442 has been updated by Marc-Andre Lafortune. Status changed from Open to Closed Thanks for the revised patch! I've committed it almost as is (I changed the constant in the doc for Math::PI / 2) and made a slight optimization ---------------------------------------- Feature #10442: Helper methods to Vector class https://bugs.ruby-lang.org/issues/10442#change-50012 * Author: Egunov Dmitriy * Status: Closed * 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/