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

Method SetZero

CommonB2Math.go:50–53  ·  view source on GitHub ↗

Set this vector to all zeros.

()

Source from the content-addressed store, hash-verified

48
49/// Set this vector to all zeros.
50func (v *B2Vec2) SetZero() {
51 v.X = 0.0
52 v.Y = 0.0
53}
54
55/// Set this vector to some specified coordinates.
56func (v *B2Vec2) Set(x, y float64) {

Callers 15

MakeB2RopeDefFunction · 0.45
MakeB2RopeFunction · 0.45
InitializeMethod · 0.45
MakeB2WeldJointFunction · 0.45
ClearForcesMethod · 0.45
MakeB2PrismaticJointDefFunction · 0.45
MakeB2PrismaticJointFunction · 0.45
MakeB2WheelJointDefFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected