MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FindPositions

Method FindPositions

Source/Engine/Graphics/Models/ModelData.Tool.cpp:373–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void MeshData::FindPositions(const Float3& position, float epsilon, Array<int32>& result)
374{
375 result.Clear();
376
377 for (int32 i = 0; i < Positions.Count(); i++)
378 {
379 if (Float3::NearEqual(position, Positions[i], epsilon))
380 result.Add(i);
381 }
382}
383
384bool MeshData::GenerateNormals(float smoothingAngle)
385{

Callers 3

ModelData.Tool.cppFile · 0.45
GenerateNormalsMethod · 0.45
GenerateTangentsMethod · 0.45

Calls 4

NearEqualFunction · 0.50
ClearMethod · 0.45
CountMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected