C
Clark Kent
HI!
Any one can tell why VB.Net gives error
Operator '*' is not defined for types 'Microsoft.DirectX.Matrix' and
'Microsoft.DirectX.Matrix'.
from lines that are below and in C# it works just fine?
How ill solve this? Totally lost now.
EXAMPLES:
VB.Net
Dim m As Matrix = Matrix.Translation(0, 0.4F, 0)
m *= Me.TransformMatrix()
dev.Transform.World = m
C#
Matrix m = Matrix.Translation(0,0.4f,0);
m *= this.TransformMatrix();
dev.Transform.World = m;
Any one can tell why VB.Net gives error
Operator '*' is not defined for types 'Microsoft.DirectX.Matrix' and
'Microsoft.DirectX.Matrix'.
from lines that are below and in C# it works just fine?
How ill solve this? Totally lost now.
EXAMPLES:
VB.Net
Dim m As Matrix = Matrix.Translation(0, 0.4F, 0)
m *= Me.TransformMatrix()
dev.Transform.World = m
C#
Matrix m = Matrix.Translation(0,0.4f,0);
m *= this.TransformMatrix();
dev.Transform.World = m;