This project has moved and is read-only. For the latest updates, please go here.

FP3.0 Camera2D

Topics: Developer Forum
Sep 10, 2010 at 12:28 PM

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.


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