Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RozDavid/UnScene3D
/ normalize
Method
normalize
utils/cpp_utils/include/vec3.h:235–237 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
233
}
234
235
static inline vec3<T> normalize(const vec3<T> &v) {
236
return v.getNormalized();
237
}
238
239
inline void normalize() {
240
T val = (T) 1.0 / length();
Callers
3
feature_sim
Function · 0.80
get_affinity_matrix
Function · 0.80
whiten_feats
Function · 0.80
Calls
2
length
Function · 0.85
getNormalized
Method · 0.80
Tested by
no test coverage detected