|
|
Function
love.physics.newRectangleShape( body, w, h )
Synopsis
rectangle = love.physics.newRectangleShape( body, w, h )
Arguments
body
The Body to attatch the rectangle to.
w
The width of the rectangle.
h
The height of the rectangle.
Returns
PolygonShape
A rectangular PolygonShape.
Copyright © 2006-2008 LÖVE Development Team.
|