MGL_sectRectFast

Compute the intersection between two rectangles.

Declaration

void MGL_sectRectFast(
    rect_t r1,
    rect_t r2,
    rect_t *d)

Prototype In

mgraph.h

Parameters

r1

First rectangle to intersect

r2

Second rectangle to intersect

d

Place to store the resulting intersection

 

Description

This is the same as MGL_sectRect but it is implemented as a macro and does not test the rectangle for intersection.

See Also

MGL_sectRect, MGL_sectRectCoord, MGL_unionRect

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com