Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Redot-Engine/redot-engine
/ snapped
Method
snapped
core/math/vector4.cpp:213–217 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
211
}
212
213
Vector4 Vector4::snapped(const Vector4 &p_step) const {
214
Vector4 v = *this;
215
v.snap(p_step);
216
return v;
217
}
218
219
Vector4 Vector4::snappedf(real_t p_step) const {
220
Vector4 v = *this;
Callers
11
_gui_input_move
Method · 0.45
_snap_point
Method · 0.45
_blend_space_gui_input
Method · 0.45
_blend_space_draw
Method · 0.45
_update_edited_point_pos
Method · 0.45
test_vector4.h
File · 0.45
test_vector2i.h
File · 0.45
test_vector3.h
File · 0.45
test_vector4i.h
File · 0.45
test_vector3i.h
File · 0.45
test_vector2.h
File · 0.45
Calls
1
snap
Method · 0.45
Tested by
no test coverage detected