MCPcopy
hub / github.com/libgdx/libgdx / limit

Method limit

gdx/src/com/badlogic/gdx/math/Vector.java:37–37  ·  view source on GitHub ↗

Limits the length of this vector, based on the desired maximum length. @param limit desired maximum length for this vector @return this vector for chaining

(float limit)

Source from the content-addressed store, hash-verified

35 * @param limit desired maximum length for this vector
36 * @return this vector for chaining */
37 T limit (float limit);
38
39 /** Limits the length of this vector, based on the desired maximum length squared.
40 * <p />

Callers 15

toFloatBufferMethod · 0.65
toIntBufferMethod · 0.65
glDrawElementsMethod · 0.65
glDrawBuffersMethod · 0.65
glGenProgramPipelinesMethod · 0.65
getMonitorsMethod · 0.65
glReadnPixelsMethod · 0.65

Implementers 3

Vector2gdx/src/com/badlogic/gdx/math/Vector2.
Vector3gdx/src/com/badlogic/gdx/math/Vector3.
Vector4gdx/src/com/badlogic/gdx/math/Vector4.

Calls

no outgoing calls

Tested by 5

getNumVerticesMethod · 0.52
bufferChangedMethod · 0.52
setVerticesMethod · 0.52
bindDataMethod · 0.52
createMethod · 0.52