Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
getLanguageFromEntries
Function · 0.45
buildBundleExtension
Function · 0.45
write
Method · 0.45
subscribe
Method · 0.45
subscribe
Method · 0.45
createContainer
Method · 0.45
createElement
Method · 0.45
createRectElement
Method · 0.45
createEditButton
Method · 0.45
createAiButton
Method · 0.45
setCustomClass
Method · 0.45
useFonts
Function · 0.45
Calls
no outgoing calls
Tested by
1
observe
Method · 0.36