zengqh / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

float3x3 effect variables are set incorrectly by BaseEffect.SetValue(Matrix) #382

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Setting the value of a float3x3 effect variable by passing a Matrix to
BaseEffect.SetValue should set the variable to the upper-left 3x3 section
of the matrix.

This was the case with the November 2007 release of SlimDX, but is no
longer. More specifically, I believe this issue was introduced in r686,
where the function called on the underlying pointer when passing a Matrix
to BaseEffect::SetValue changed from ID3DXBaseEffect::SetMatrix to
ID3DXBaseEffect::SetValue.

See http://www.gamedev.net/community/forums/topic.asp?topic_id=517554.

Original issue reported on code.google.com by paulspro...@googlemail.com on 16 Dec 2008 at 8:02

GoogleCodeExporter commented 9 years ago
Taking ownership.

Original comment by Mike.Popoloski on 18 Dec 2008 at 6:28

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by Mike.Popoloski on 19 Dec 2008 at 11:27