Forgot to change a variable name, now it compiles and works.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1673 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
712b64d168
commit
8335502866
@ -184,8 +184,8 @@ static VALUE Vector2_Equal( VALUE self, VALUE anArgument )
|
||||
VALUE aVector = Vector2_ForceType( anArgument );
|
||||
VALUE leftX = Vector2_GetX( self );
|
||||
VALUE leftY = Vector2_GetY( self );
|
||||
VALUE rightX = Vector2_GetX( rightVector );
|
||||
VALUE rightY = Vector2_GetY( rightVector );
|
||||
VALUE rightX = Vector2_GetX( aVector );
|
||||
VALUE rightY = Vector2_GetY( aVector );
|
||||
|
||||
if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue &&
|
||||
rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == Qtrue )
|
||||
@ -204,8 +204,8 @@ static VALUE Vector2_StrictEqual( VALUE self, VALUE anArgument )
|
||||
VALUE aVector = Vector2_ForceType( anArgument );
|
||||
VALUE leftX = Vector2_GetX( self );
|
||||
VALUE leftY = Vector2_GetY( self );
|
||||
VALUE rightX = Vector2_GetX( rightVector );
|
||||
VALUE rightY = Vector2_GetY( rightVector );
|
||||
VALUE rightX = Vector2_GetX( aVector );
|
||||
VALUE rightY = Vector2_GetY( aVector );
|
||||
|
||||
if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue &&
|
||||
rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue )
|
||||
|
@ -212,9 +212,9 @@ static VALUE Vector3_Equal( VALUE self, VALUE anArgument )
|
||||
VALUE leftX = Vector3_GetX( self );
|
||||
VALUE leftY = Vector3_GetY( self );
|
||||
VALUE leftZ = Vector3_GetZ( self );
|
||||
VALUE rightX = Vector3_GetX( rightVector );
|
||||
VALUE rightY = Vector3_GetY( rightVector );
|
||||
VALUE rightZ = Vector3_GetZ( rightVector );
|
||||
VALUE rightX = Vector3_GetX( aVector );
|
||||
VALUE rightY = Vector3_GetY( aVector );
|
||||
VALUE rightZ = Vector3_GetZ( aVector );
|
||||
|
||||
if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue &&
|
||||
rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == Qtrue &&
|
||||
@ -235,9 +235,9 @@ static VALUE Vector3_StrictEqual( VALUE self, VALUE anArgument )
|
||||
VALUE leftX = Vector3_GetX( self );
|
||||
VALUE leftY = Vector3_GetY( self );
|
||||
VALUE leftZ = Vector3_GetZ( self );
|
||||
VALUE rightX = Vector3_GetX( rightVector );
|
||||
VALUE rightY = Vector3_GetY( rightVector );
|
||||
VALUE rightZ = Vector3_GetZ( rightVector );
|
||||
VALUE rightX = Vector3_GetX( aVector );
|
||||
VALUE rightY = Vector3_GetY( aVector );
|
||||
VALUE rightZ = Vector3_GetZ( aVector );
|
||||
|
||||
if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue &&
|
||||
rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue &&
|
||||
|
Loading…
Reference in New Issue
Block a user