You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_xf is strange and it may be abbreviation of XForm which is similiar to Transform .In addition,variable names beginning with an underscore is not compliant with the CLS.
publicclassBody{publicTransform_xf;// the body origin transform}
Suggest :
publicclassBody{publicTransformTransform;// the body origin transform}
You are right. The naming comes from Box2D for the most part. The transform on the body is temporary to have the build in source control compile, nothing else. I will rename things correctly when I get some time to work on the engine.
VelcroPhysics.Dynamics.Body
_xf
is strange and it may be abbreviation ofXForm
which is similiar toTransform
.In addition,variable names beginning with an underscore is not compliant with the CLS.Suggest :
VelcroPhysics.Dynamics.TimeStep
In general,a public variable should be full word.
Suggest :
VelcroPhysics.Shared.Rot
Rot
doesn't name with a full noun,and fieldss
,c
lead to confusion.Suggest:
VelcroPhysics.Shared.Transform
Likewise,the meanings of
p
andq
are not clearly.Suggest :
The text was updated successfully, but these errors were encountered: