Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ getNormalized
Method
getNormalized
core/math/Vec3.cpp:181–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
}
180
181
Vec3 Vec3::getNormalized() const
182
{
183
Vec3 v(*this);
184
v.normalize();
185
return v;
186
}
187
188
void Vec3::subtract(const Vec3& v1, const Vec3& v2, Vec3* dst)
189
{
Callers
10
_drawPolygon
Method · 0.45
_drawSegment
Method · 0.45
getIntersectionPoint
Method · 0.45
setSweepAxis
Function · 0.45
vertexLineToPolygon
Function · 0.45
onTouchesMoved
Method · 0.45
onTouchesMoved
Method · 0.45
slice
Method · 0.45
scaleCameraCallback
Method · 0.45
updateCamera
Method · 0.45
Calls
1
normalize
Method · 0.45
Tested by
5
onTouchesMoved
Method · 0.36
onTouchesMoved
Method · 0.36
slice
Method · 0.36
scaleCameraCallback
Method · 0.36
updateCamera
Method · 0.36