From a8d68c295db9478fac7773d261ff52d00d7321b4 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Tue, 13 Feb 2024 22:27:12 +0800 Subject: [PATCH] renamed many values. --- example/LightBasic/BlinnPhongDirectionLight.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/LightBasic/BlinnPhongDirectionLight.cpp b/example/LightBasic/BlinnPhongDirectionLight.cpp index 8f79c15f..9b8fabdd 100644 --- a/example/LightBasic/BlinnPhongDirectionLight.cpp +++ b/example/LightBasic/BlinnPhongDirectionLight.cpp @@ -34,7 +34,7 @@ private: Material * mtl_vertex_lum =nullptr; MaterialInstance * mi_plane_grid =nullptr; - Pipeline * p_line =nullptr; + Pipeline * p_line =nullptr; Primitive * ro_plane_grid =nullptr; @@ -42,7 +42,7 @@ private: private: - bool InitMaterialAndPipeline() + bool InitVertexLumMP() { mtl::Material3DCreateConfig cfg(device->GetDeviceAttribute(),"VertexLuminance3D",Prim::Lines); @@ -117,7 +117,7 @@ public: if(!SceneAppFramework::Init(w,h)) return(false); - if(!InitMaterialAndPipeline()) + if(!InitVertexLumMP()) return(false); if(!CreateRenderObject())