Skip to main content
GameDev.net gamedev.net
🔒 Locked

CreatePerspectiveFieldOfView implementation

Started by gusso Jun 6, 2009 at 3:35 PM 2 replies 3.5k views
Original Post
gusso
gusso
Where can I find the implementation of CreatePerspectiveFieldOfView ? Thanks.
leet bix
leet bix
Here's a C# call of it:


projectionMatrix = Matrix.CreatePerspectiveFieldOfView(MathHelper.ToRadians(45.0f)


And here's the documentation for it from msdn

http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.matrix.createperspectivefieldofview.aspx


Not sure if this was what you were looking for, but I hope it helps =]
gusso
gusso
Hi :)

I would actually like to know how it works hence the implementation (and not the declaration).

Thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.