Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_data_structures.h647 float zfar; in CORE3D_BEGIN_NAMESPACE() member
658 float zfar; in CORE3D_BEGIN_NAMESPACE() member
H A Dgltf2_exporter.cpp494 exportCamera->attributes.ortho.zfar = cameraComponent.zFar; in ExportGltfCameras()
502 exportCamera->attributes.perspective.zfar = cameraComponent.zFar; in ExportGltfCameras()
1489 if (camera->attributes.perspective.zfar > 0.f) { in ExportCameras()
1490 jsonPerspective["zfar"] = camera->attributes.perspective.zfar; in ExportCameras()
1498 jsonOrthographic["zfar"] = camera->attributes.ortho.zfar; in ExportCameras()
H A Dgltf2_loader.cpp1654 if (!ParseOptionalNumber<float>(loadResult, perspective.zfar, jsonData, "zfar", -1.f)) { in PrimitiveAttributes()
1675 if (!ParseOptionalNumber<float>(loadResult, ortho.zfar, jsonData, "zfar", -1.f)) { // required in PrimitiveAttributes()
1681 if (ortho.zfar < 0 || ortho.znear < 0 || ortho.xmag == 0 || ortho.ymag == 0) { in PrimitiveAttributes()
H A Dgltf2_importer.cpp1897 component->zFar = node.camera->attributes.ortho.zfar; in CreateCamera()
1904 component->zFar = node.camera->attributes.perspective.zfar; in CreateCamera()