MathUtils Methods Parameters

Topics: Developer Forum, Project Management Forum, User Forum
Sep 3, 2011 at 2:32 AM
Edited Sep 3, 2011 at 2:43 AM

In a large number of the static methods in MathUtils, most notably those that involve multiplying matrices, the functions use parameters passed in via reference.  However, after going through each of these, I could not uncover the purpose of doing this, since the referenced parameter values in all of the methods with the exception of Swap<T> are never modified  I was hoping someone could elaborate on the reasons for doing so, since it's not in the comments.  Many thanks for all your hard work.

Respectfully,

Joseph G.

Sep 4, 2011 at 5:15 AM

Anyone?  Developers, contributors, moderators?

Sep 13, 2011 at 2:57 PM

look at the blog ot one of the creator:

http://ianqvist.blogspot.com/2010/11/optimizing-performance-for-xbox-360.html

Sep 15, 2011 at 9:53 AM
This is news to me, but what a travesty this is.

When language, written as intended, does not result in performance, the generic model has failed itself.

Pigeon-holing the Compact Framework is a joke, and the single reason why I'm considering another platform.

From: "HellGate" <notifications@codeplex.com>
Date: 13 Sep 2011 07:57:56 -0700
To: <joseph.n.grochowski@gmail.com>
ReplyTo: FarseerPhysics@discussions.codeplex.com
Subject: Re: MathUtils Methods Parameters [FarseerPhysics:271342]

From: HellGate