MCPcopy Create free account
hub / github.com/ByteArena/box2d / MakeB2Vec2

Function MakeB2Vec2

CommonB2Math.go:34–39  ·  view source on GitHub ↗
(xIn, yIn float64)

Source from the content-addressed store, hash-verified

32}
33
34func MakeB2Vec2(xIn, yIn float64) B2Vec2 {
35 return B2Vec2{
36 X: xIn,
37 Y: yIn,
38 }
39}
40
41/// Construct using coordinates.
42func NewB2Vec2(xIn, yIn float64) *B2Vec2 {

Callers 15

MakeB2DistanceOutputFunction · 0.85
MakeB2SimplexVertexFunction · 0.85
GetReactionForceMethod · 0.85
MakeMassDataFunction · 0.85
MakeB2BodyDefFunction · 0.85
ResetMassDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected