Ticket #961 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

fix soy.atoms.Vector math

Reported by: ArcRiley Owned by:
Priority: Medium Milestone: beta3
Component: soy.atoms Version: Trunk
Keywords: Cc:

Description

Vector math is currently wrong.

For example, mul on an real number should perform a scalar operation which increases the length by the given amount, not by multiplying each component by the scalar independently. In the current form, two vectors of same length but different angle, multiplied by the same real number, will result in different lengths.

See http://en.wikipedia.org/wiki/Vector_(spatial)#Scalar_multiplication for more.

Change History

Changed 4 months ago by ArcRiley

  • status changed from new to closed
  • resolution set to invalid

This is a good example of why I shouldn't write tickets in the middle of the night.

Note: See TracTickets for help on using tickets.