Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_builder.cpp1819 const auto norFormat = GetFormatSpec(targetNormals.format); in GatherDeltasPN() local
1820 if (norFormat.format == BASE_FORMAT_UNDEFINED) { in GatherDeltasPN()
1824 if (const auto norElementSize = norFormat.componentCount * norFormat.componentByteSize; in GatherDeltasPN()
1833 …if (posFormat.format == BASE_FORMAT_R32G32B32_SFLOAT && norFormat.format == BASE_FORMAT_R32G32B32_… in GatherDeltasPN()
1883 for (auto i = 0U; i < Math::min(countof(nor.data), norFormat.componentCount); ++i) { in GatherDeltasPN()
1884 nor[i] = norFormat.toIntermediate(ptr + i * norFormat.componentByteSize); in GatherDeltasPN()
1935 const auto norFormat = GetFormatSpec(targetNormals.format); in GatherDeltasPNT() local
1936 if (norFormat.format == BASE_FORMAT_UNDEFINED) { in GatherDeltasPNT()
1940 if (const auto norElementSize = norFormat.componentCount * norFormat.componentByteSize; in GatherDeltasPNT()
2018 for (auto i = 0U; i < Math::min(countof(nor.data), norFormat.componentCount); ++i) { in GatherDeltasPNT()
[all …]