Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ angleBetweenNormalized
Method
angleBetweenNormalized
source/core/StarVector.hpp:456–458 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
454
455
template <typename T, size_t N>
456
T Vector<T, N>::angleBetweenNormalized(Vector const& v) const {
457
return acos(*this * v);
458
}
459
460
template <typename T, size_t N>
461
T Vector<T, N>::magnitudeSquared() const {
Callers
1
collisionMove
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected