FP3.0 Camera2D

Topics: Developer Forum
Sep 10, 2010 at 11:28 AM

I've been using Farseer 2.something with RogueCommander's Camera 2D class. Just been getting up to speed with Farseer, really, when 3.0 came out. So I'm getting to grips with that instead.

The old cam class is all fine apart from:

 

 

AABB texAABB = new AABB();

	// stuff

if (camAABB.Contains(texAABB.Min) || camAABB.Contains(texAABB.Max))

return true;

 

 

As AABB.Min and AABB.Max no longer exist. Are there alternatives for them in FP3.0 that I'm not seeing?

Many thanks.

D

Coordinator
Sep 10, 2010 at 3:04 PM
AABB.LowerLimit and UpperLimit are the new names.