Panda3D
|
Public Member Functions | |
def | __init__ |
def | clearBitmasks |
def | hasOverlap |
def | intersects |
def | setBitmasks |
Public Attributes | |
area | |
overflowed | |
p | |
rotated |
def __init__ | ( | self, | |
l, | |||
r, | |||
b, | |||
t | |||
) |
def clearBitmasks | ( | self, | |
bitmasks | |||
) |
Clears all of the appropriate bits to indicate this region is available.
def hasOverlap | ( | self, | |
bitmasks | |||
) |
Returns true if there is an overlap with this region and any other region, false otherwise.
def intersects | ( | self, | |
other | |||
) |
Returns True if the placements intersect, False otherwise.
def setBitmasks | ( | self, | |
bitmasks | |||
) |
Sets all of the appropriate bits to indicate this region is taken.