Skip to content

Commit 4c938f0

Browse files
committed
docs
1 parent 842c6c1 commit 4c938f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_classes/vec2d/vec2d.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Vec2D"
44
permalink: /classes/vec2d/
55
---
66

7-
The Vec2D class is a direct replacement for processings PVector class (when used for 2D work, see Vec3D for 3D version).
7+
The Vec2D class is a direct replacement for processings PVector class (when used for 2D work, see Vec3D for 3D version). Recently cross product is deprecated in favor of the more correct wedge `^` product
88

99
### Methods:-
1010
```ruby
@@ -15,7 +15,7 @@ a / b # where a is instance of Vec2D and b is a scalar
1515
a == b # where both a and b are both instances of Vec2D
1616
a.angle_between(b) # where both a and b are both instances of Vec2D
1717
a.copy # where a is instance of Vec2D returns a deep copy
18-
a.cross(b) # where both a and b are both instances of Vec2D
18+
a ^ b # wedge product where both a and b are both instances of Vec2D
1919
a.dist(b) # where both a and b are both instances of Vec2D
2020
a.dot(b) # where both a and b are both instances of Vec2D
2121
a.heading # where a is instance of Vec2D

0 commit comments

Comments
 (0)