This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Add back single-argument Vec constructor.
tags/v2.0.0
Andrew Belt
3 years ago
parent
05117a30b4
commit
6ac7785cba
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
include/math.hpp
+ 1
- 0
include/math.hpp
View File
@@ -194,6 +194,7 @@ struct Vec {
float y = 0.f;
float y = 0.f;
Vec() {}
Vec() {}
Vec(float xy) : x(xy), y(xy) {}
Vec(float x, float y) : x(x), y(y) {}
Vec(float x, float y) : x(x), y(y) {}
float& operator[](int i) {
float& operator[](int i) {
Write
Preview
Loading…
Cancel
Save