1
DotNet / Exceptions when using Transform.GetInverse()
« on: June 26, 2012, 05:22:21 pm »
Hey,
I'm having a few problems using the Transform.GetInverse() function.
Using the following program:
I get an unhandled AccessViolationException when attempting to use the function. Am I doing something wrong here?
Thanks in advance,
Wibbs
I'm having a few problems using the Transform.GetInverse() function.
Using the following program:
using System;
using SFML.Audio;
using SFML.Window;
using SFML.Graphics;
namespace SFMLGraphicsModule
{
class Program
{
static void Main(string[] args)
{
Transform transform = new Transform();
transform.Rotate(10, 30, 30);
transform.Translate(49, 59);
Transform result = transform.GetInverse();
}
}
}
using SFML.Audio;
using SFML.Window;
using SFML.Graphics;
namespace SFMLGraphicsModule
{
class Program
{
static void Main(string[] args)
{
Transform transform = new Transform();
transform.Rotate(10, 30, 30);
transform.Translate(49, 59);
Transform result = transform.GetInverse();
}
}
}
I get an unhandled AccessViolationException when attempting to use the function. Am I doing something wrong here?
Thanks in advance,
Wibbs