Project

General

Profile

Actions

Feature #10442

closed

Helper methods to Vector class

Added by Clamoris (Egunov Dmitriy) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:65947]

Description

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) vector_helpers.patch Clamoris (Egunov Dmitriy), 10/28/2014 02:05 PM
angle_with.patch (1.12 KB) angle_with.patch Clamoris (Egunov Dmitriy), 10/29/2014 06:58 PM
angle_with.patch (1.59 KB) angle_with.patch Clamoris (Egunov Dmitriy), 10/30/2014 09:21 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0