mirror of
https://github.com/4sval/FModel.git
synced 2026-03-31 14:15:47 -05:00
get back here
This commit is contained in:
parent
0b01400493
commit
8597e491e0
|
|
@ -122,6 +122,7 @@ public class Model : IDisposable
|
|||
for (int section = 0; section < Sections.Length; section++)
|
||||
{
|
||||
Sections[section].Bind(section, Indices.Length);
|
||||
_gl.DrawArrays(PrimitiveType.Triangles, Sections[section].FirstFaceIndex, Sections[section].FacesCount);
|
||||
}
|
||||
ImGui.EndTable();
|
||||
|
||||
|
|
|
|||
|
|
@ -95,8 +95,6 @@ public class Section : IDisposable
|
|||
ImGui.EndTooltip();
|
||||
}
|
||||
|
||||
_gl.DrawArrays(PrimitiveType.Triangles, FirstFaceIndex, FacesCount);
|
||||
|
||||
if (Parameters.IsNull) return;
|
||||
_diffuseMap?.Bind(TextureUnit.Texture0);
|
||||
_normalMap?.Bind(TextureUnit.Texture1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user