mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51: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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user