Home
last modified time | relevance | path

Searched refs:boundingSpherePosition (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_preprocessor_system.cpp246 …const auto boundingSpherePosition = helper.sumOfSubmeshPoints / static_cast<float>(helper.submeshC… in CalculateSceneBounds() local
248 const float radMin = Math::Magnitude(boundingSpherePosition - helper.minAABB); in CalculateSceneBounds()
249 const float radMax = Math::Magnitude(helper.maxAABB - boundingSpherePosition); in CalculateSceneBounds()
255 … const float pointDistance = Math::Magnitude(boundingSpherePosition - boundingSphere_.center); in CalculateSceneBounds()
265 … const float posDifference = Math::Magnitude(boundingSpherePosition - boundingSphere_.center); in CalculateSceneBounds()
273 boundingSphere_.center = boundingSpherePosition; in CalculateSceneBounds()
280 boundingSphere_.center = boundingSpherePosition; in CalculateSceneBounds()