Skip to content

Commit

Permalink
Documented b2PolygonShape::Set
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Jan 5, 2012
1 parent 0bbce00 commit d501c6c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/pods/Box2D/b2PolygonShape.pod
Expand Up @@ -41,6 +41,19 @@ Get the vertex count.

Returns a C<int32>

=head2 Set( @vertices )

Copy vertices. This assumes the vertices define a convex polygon. It is assumed
that the exterior is the the right of each edge.

Parameters:

=over 4

=item * C<array> C<@vertices>

=back

=head2 SetAsBox( $hx, $hy )

=head2 SetAsBox( $hx, $hy, $center, $angle )
Expand Down

0 comments on commit d501c6c

Please sign in to comment.