Sign in to follow this  

[.net] Protection level

Recommended Posts

When i try to build my project I get a strange error: 'Microsoft.DirectX.Matrix' is inaccessible due to its protection level and The type 'Microsoft.DirectX.Matrix' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.DirectX'. the code is: d3dDevice.Transform.View = Matrix.LookAtLH(new Vector3(0, 0.5F, -3), new Vector3(0, 0.5F, 0), new Vector3(0, 1, 0)); I´ve added refrences to DirectX and Direct3D... what´s wrong??

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this