From 28e25d4c9f0ec82f2c7b4eeb63aba7f0c6d4e91f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Fri, 23 Aug 2019 12:53:37 +0200 Subject: save comit before image modif --- vke/src/model/PbrModelTexArray.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vke/src/model/PbrModelTexArray.cs') diff --git a/vke/src/model/PbrModelTexArray.cs b/vke/src/model/PbrModelTexArray.cs index 99c6f76..162182e 100644 --- a/vke/src/model/PbrModelTexArray.cs +++ b/vke/src/model/PbrModelTexArray.cs @@ -43,7 +43,7 @@ namespace CVKL { /// /// Material structure for ubo containing texture indices in tex array /// - public new struct Material { + public struct Material { public Vector4 baseColorFactor; public Vector4 emissiveFactor; public Vector4 diffuseFactor; @@ -110,7 +110,7 @@ namespace CVKL { } void loadMaterials (glTFLoader ctx) { - Model.Material[] mats = ctx.LoadMaterial (); + glTFLoader.Material[] mats = ctx.LoadMaterial (); materials = new Material[mats.Length]; for (int i = 0; i < mats.Length; i++) { -- cgit v1.3.1-4-g156e