adityatan's picture

Vector3 Class in OpenTK

Hi there:

Please take a loot at this piece of code.

GL.Rotate(rotation, Vector3.UnitZ); // OpenTK has this nice Vector3 class!

My VS2010 doess not recognized this Vector3 class. I am using the latest OpenTK version. Please kindly help. Thanks.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture
  • Have you added OpenTK to your project references?
  • Have you added using OpenTK; to the top of your source file?
adityatan's picture

Actually I really have no idea why it didn't work at the first place. Now it does work. Thank you