[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:66000] [ruby-trunk - Feature #10442] Helper methods to Vector class

From: soul.amd@...
Date: 2014-10-29 19:00:24 UTC
List: ruby-core #66000
Issue #10442 has been updated by Egunov Dmitriy.

File angle_with.patch added

Thanks, Marc-Andre Lafortune.

Patch updated (in attach), please take a look.

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

* 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)


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

In This Thread

Prev Next