m = new ObjLoader().LoadFile("test.obj");
GL.ClearColor(Color.MidnightBlue);
GL.Enable(EnableCap.DepthTest);
GL.BindTexture(TextureTarget.Texture2D, tex);
GL.Begin(BeginMode.Triangles);
foreach (Face t in m.Faces)
{
foreach (System.Drawing.Point p in t.Points())
{
Vector3 v = m.Vertices[p.Vertex];
Vector3 n = m.Normals[p.Normal];
Vector2 tc = m.TexCoords[p.TexCoord];
GL.Normal3(n.X, n.Y, n.Z);
GL.TexCoord2(tc.X, 1 - tc.Y);
GL.Vertex3(v.X, v.Y, v.Z);
}
}ده الكود اللى انا بستخدمه بيدينى ايررور فى السطر رقم 8 عند كلمة t.Points()
مش عارف المشكله ايه وبيطلعلى الايرور ده
Non-invocable member 'Meshomatic.Face.Points' cannot be used like a method.
وانا مرفق صورة للايرور