|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> I have a three coordinates.
>
> // bounding box
> L3ModelBBoxMin = <-1280,-428,-960>
> L3ModelBBoxMax = <1280,0,-160>
>
> // camera location
> L3Location = <2413.395250,-1636.367750,-2657.726250>
>
>
> How do I determine the corner of the bounding box that is nearest the
> camera? Thanks.
>
>
> Mike
Define the corners you want to test, and calculate the vlength between the
corners and the camera location. Then use min().
Post a reply to this message
|
|