mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-08-16 08:16:33 -04:00
MSVC fix-up
This commit is contained in:
Vendored
+3
-2
@@ -25,8 +25,9 @@ namespace CubicVR {
|
||||
__float& v() { return y; }
|
||||
|
||||
// __float operator [] (unsigned i) const { return ((__float *)this)[i]; }
|
||||
__float& operator [] (unsigned i) { return ((__float *)this)[i]; }
|
||||
|
||||
#ifndef _WIN32
|
||||
__float& operator [] (unsigned i) { return ((__float *)this)[i]; }
|
||||
#endif
|
||||
vec2 (__float xi,__float yi) { x = xi; y = yi; }
|
||||
vec2 () { x = y = 0.0f; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user