We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b1a72 commit 1f2521eCopy full SHA for 1f2521e
src/aliceVision/numeric/numeric.i
@@ -9,8 +9,22 @@
9
%include <aliceVision/global.i>
10
%include <aliceVision/numeric/numeric.hpp>
11
12
+double getX(const Vec2 & vec);
13
+double getY(const Vec2 & vec);
14
+
15
%{
16
#include <aliceVision/numeric/numeric.hpp>
17
using namespace aliceVision;
18
19
+double getX(const Vec2 & vec)
20
+{
21
+ return vec(0);
22
+}
23
24
+double getY(const Vec2 & vec)
25
26
+ return vec(1);
27
28
29
%}
30
0 commit comments