summaryrefslogtreecommitdiff
path: root/src/vg/Rasterizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vg/Rasterizer.h')
-rw-r--r--src/vg/Rasterizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vg/Rasterizer.h b/src/vg/Rasterizer.h
index f1539a7..c6a9041 100644
--- a/src/vg/Rasterizer.h
+++ b/src/vg/Rasterizer.h
@@ -54,7 +54,7 @@ typedef RIfloat RScalar; //change this if you want to have different precision f
struct RVector2
{
inline RVector2() { }
- inline RVector2(const Vector2& v) { x = v.x; y = v.y; }
+ inline RVector2(const Vector2& v) { x = v(0,0); y = v(0,1); }
inline RVector2(RIfloat vx, RIfloat vy) { x = vx; y = vy; }
inline void set(RIfloat vx, RIfloat vy) { x = vx; y = vy; }
RScalar x;