Quantcast
Channel: BEPUphysics
Viewing all articles
Browse latest Browse all 243

Closed Unassigned: Small error in a property [18]

$
0
0
WheelDrivingMotor.cs:

/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return ForceAxis; }
}

should be:

/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return forceAxis; }
}

It should return the field not the property again.

Viewing all articles
Browse latest Browse all 243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>