Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Redot-Engine/redot-engine
/ angle_to_point
Method
angle_to_point
core/math/vector2.cpp:92–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
}
91
92
real_t Vector2::angle_to_point(const Vector2 &p_vector2) const {
93
return (p_vector2 - *this).angle();
94
}
95
96
real_t Vector2::dot(const Vector2 &p_other) const {
97
return x * p_other.x + y * p_other.y;
Callers
7
_update_debug_edge_connections_mesh
Method · 0.80
_execute_ccdik_joint
Method · 0.80
_wheel_input
Method · 0.80
update_circle_cursor
Method · 0.80
_circle_input
Method · 0.80
GodotPinJoint2D
Method · 0.80
test_vector2.h
File · 0.80
Calls
1
angle
Method · 0.80
Tested by
no test coverage detected