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:
groogy 2010-11-19 08:30:38 +00:00
parent 712b64d168
commit 8335502866
2 changed files with 10 additions and 10 deletions

View File

@ -184,8 +184,8 @@ static VALUE Vector2_Equal( VALUE self, VALUE anArgument )
VALUE aVector = Vector2_ForceType( anArgument ); VALUE aVector = Vector2_ForceType( anArgument );
VALUE leftX = Vector2_GetX( self ); VALUE leftX = Vector2_GetX( self );
VALUE leftY = Vector2_GetY( self ); VALUE leftY = Vector2_GetY( self );
VALUE rightX = Vector2_GetX( rightVector ); VALUE rightX = Vector2_GetX( aVector );
VALUE rightY = Vector2_GetY( rightVector ); VALUE rightY = Vector2_GetY( aVector );
if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue && if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue &&
rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == 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 aVector = Vector2_ForceType( anArgument );
VALUE leftX = Vector2_GetX( self ); VALUE leftX = Vector2_GetX( self );
VALUE leftY = Vector2_GetY( self ); VALUE leftY = Vector2_GetY( self );
VALUE rightX = Vector2_GetX( rightVector ); VALUE rightX = Vector2_GetX( aVector );
VALUE rightY = Vector2_GetY( rightVector ); VALUE rightY = Vector2_GetY( aVector );
if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue && if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue &&
rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue ) rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue )

View File

@ -212,9 +212,9 @@ static VALUE Vector3_Equal( VALUE self, VALUE anArgument )
VALUE leftX = Vector3_GetX( self ); VALUE leftX = Vector3_GetX( self );
VALUE leftY = Vector3_GetY( self ); VALUE leftY = Vector3_GetY( self );
VALUE leftZ = Vector3_GetZ( self ); VALUE leftZ = Vector3_GetZ( self );
VALUE rightX = Vector3_GetX( rightVector ); VALUE rightX = Vector3_GetX( aVector );
VALUE rightY = Vector3_GetY( rightVector ); VALUE rightY = Vector3_GetY( aVector );
VALUE rightZ = Vector3_GetZ( rightVector ); VALUE rightZ = Vector3_GetZ( aVector );
if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue && if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue &&
rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == 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 leftX = Vector3_GetX( self );
VALUE leftY = Vector3_GetY( self ); VALUE leftY = Vector3_GetY( self );
VALUE leftZ = Vector3_GetZ( self ); VALUE leftZ = Vector3_GetZ( self );
VALUE rightX = Vector3_GetX( rightVector ); VALUE rightX = Vector3_GetX( aVector );
VALUE rightY = Vector3_GetY( rightVector ); VALUE rightY = Vector3_GetY( aVector );
VALUE rightZ = Vector3_GetZ( rightVector ); VALUE rightZ = Vector3_GetZ( aVector );
if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue && if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue &&
rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue && rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue &&