Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_util.cpp101 vector<Math::Vec2>& uvs; member
109 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateCubeGeometry() local
132 uvs.emplace_back( in GenerateCubeGeometry()
134 uvs.emplace_back( in GenerateCubeGeometry()
136 uvs.emplace_back( in GenerateCubeGeometry()
149 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateSphereGeometry() local
200 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateConeCap() local
239 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateConeGeometry() local
311 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateTorusGeometry() local
531 vector<Math::Vec2> uvs; in GenerateSphereMesh() local
[all …]
H A Dmesh_util.h73 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE()
78 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE()
83 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE()
H A Dmesh_builder.cpp926 …const IMeshBuilder::DataBuffer& normals, const IMeshBuilder::DataBuffer& uvs, uint32_t vertexCount) in GenerateDefaultTangents() argument
936 auto uvsView = array_view(reinterpret_cast<const Math::Vec2*>(uvs.buffer.data()), vertexCount); in GenerateDefaultTangents()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DCubeShape.js76 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.depthSegments * this.repeatY);
99 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.depthSegments * this.repeatY);
122 … this.uvs.push(j / this.depthSegments * this.repeatX, i / this.heightSegments * this.repeatY);
145 … this.uvs.push(j / this.depthSegments * this.repeatX, i / this.heightSegments * this.repeatY);
168 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY);
191 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY);
208 this.uvs = [];
239 this.uvsBufferData = new Float32Array(this.uvs);
H A DPlaneShape.js72 this.uvs = [];
84 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY);
112 this.uvsBufferData = new Float32Array(this.uvs);
H A DShape.js91 uvs = [];
H A DSphereGraph.js43 const uvs = [];
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js170 let uvs = new Float32Array([
187 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT);
260 let uvs = triangleUVS;
266 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); // uvsBuffer
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js172 let uvs = new Float32Array([
189 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT);
262 let uvs = triangleUVS;
268 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); // uvsBuffer
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dmesh_arrays.h25 BASE_NS::vector<BASE_NS::Math::Vec2> uvs; // optional, will be generated if empty member
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_holder.cpp2470 … FillData<BASE_NS::Math::Vec3>(geometry->normals), FillData<BASE_NS::Math::Vec2>(geometry->uvs), in CreateMeshFromArrays()