コード例 #1
0
 public override void Render(double time)
 {
     _mesh?.Render(time, Matrix4.Identity);
 }
コード例 #2
0
        public override void Render(double time)
        {
            var model = Matrix4.Identity * Matrix4.CreateRotationY((float)MathHelper.DegreesToRadians(ElapsedTime * 16));

            _mesh.Render(time, model);
        }