MCPcopy
hub / github.com/directus/directus / add

Method add

app/src/utils/vector2.ts:14–18  ·  view source on GitHub ↗
(vector: Vector2)

Source from the content-addressed store, hash-verified

12 }
13
14 add(vector: Vector2) {
15 this.x += vector.x;
16 this.y += vector.y;
17 return this;
18 }
19
20 mul(val: Vector2 | number) {
21 if (val instanceof Vector2) {

Callers 15

getLanguageFromEntriesFunction · 0.45
buildBundleExtensionFunction · 0.45
writeMethod · 0.45
subscribeMethod · 0.45
subscribeMethod · 0.45
createContainerMethod · 0.45
createElementMethod · 0.45
createRectElementMethod · 0.45
createEditButtonMethod · 0.45
createAiButtonMethod · 0.45
setCustomClassMethod · 0.45
useFontsFunction · 0.45

Calls

no outgoing calls

Tested by 1

observeMethod · 0.36