Какой код, из приведенных ниже, добавляет в проект камеру?
(Отметьте один правильный вариант ответа.)
Варианты ответа
device.BeginScene(); device.VertexFormat = CustomVertex.PositionColored.Format; device.DrawUserPrimitives(PrimitiveType.TriangleList, 1, verts); device.EndScene();
device.Transform.View = Matrix.LookAtLH( new Vector3(0, 0, 5.0F), new Vector3(), new Vector3(0, 1, 0));(Верный ответ)
device.Transform.Projection = Matrix.PerspectiveFovLH( (float)Math.PI / 4, (float)this.ClientSize.Width / (float)this.ClientSize.Height, 1.0F,100.0F);