fixed params at create function of inline geometry

This commit is contained in:
2022-02-08 12:29:35 +08:00
parent 5712efd7a5
commit e6282b31d0
5 changed files with 29 additions and 32 deletions

View File

@@ -86,7 +86,6 @@ private:
pgci.color.Set(0,0,0.5,1);
pgci.side_color.Set(0,0,1,1);
ro_plane_grid[2]=CreateRenderablePlaneGrid(db,vab,&pgci);
}
bool InitScene()

View File

@@ -159,9 +159,9 @@ private:
{
struct CubeCreateInfo cci;
cci.has_normal=true;
cci.has_tangent=true;
cci.has_tex_coord=true;
cci.normal=true;
cci.tangent=true;
cci.tex_coord=true;
cci.color_type=CubeCreateInfo::ColorType::SameColor;
cci.color[0]=Vector4f(1,1,1,1);
ro_cube=CreateRenderableCube(db,vab,&cci);