mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
Modified some comments in Vector2.cpp and added comments to Color.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1665 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
6f83501b27
commit
a951ee4581
@ -141,6 +141,14 @@ static VALUE Color_Equal( VALUE self, VALUE anArgument )
|
||||
return Qfalse;
|
||||
}
|
||||
|
||||
/* call-seq:
|
||||
* Color.new() -> color
|
||||
* Color.new([r,g,b,a=255]) -> color
|
||||
* Color.new(vector) -> color
|
||||
* Color.new(r,g,b,a=255) -> color
|
||||
*
|
||||
* Create a new color instance.
|
||||
*/
|
||||
static VALUE Color_Initialize( int argc, VALUE * args, VALUE self )
|
||||
{
|
||||
rb_iv_set( self, "@r", INT2NUM( 0 ) );
|
||||
|
@ -197,9 +197,9 @@ static VALUE Vector2_StrictEqual( VALUE self, VALUE anArgument )
|
||||
}
|
||||
|
||||
/* call-seq:
|
||||
* Vector2.new() -> vector
|
||||
* Vector2.new() -> vector
|
||||
* Vector2.new([x,y]) -> vector
|
||||
* Vector2.new(vector) -> vector
|
||||
* Vector2.new(vector) -> vector
|
||||
* Vector2.new(x,y) -> vector
|
||||
*
|
||||
* Create a new vector instance.
|
||||
|
Loading…
Reference in New Issue
Block a user