This topic is 2460 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

on this function you have todo a float cast right on the matrix, well how would you cast the float back to a matrix and also check if its a transposed matrix?

##### Share on other sites
how would you cast the float back to a matrix[/quote]

Where are you trying to cast it to a matrix? The vertex shader? If so, you just declare it like so:

float4x4 myMatrix

check if its a transposed matrix[/quote]

A matrix is always transposed, in the sense that it is the transpose of the transpose of itself.

Its sort of like multiplying by -1. You can multiply any number by -1, and doing it twice will give you the original number back, so it doesn't make sense to ask "is this number multiplied by -1?"

##### Share on other sites
according to my box, its casting the transposed matrix, so in that function i want to cast it back from float* to d3dxmatrix*

##### Share on other sites
i meant , according to my book , why cant i edit my replys btw?, i can only edit the first post...

1. 1
2. 2
3. 3
Rutin
25
4. 4
5. 5
khawk
14

• 11
• 11
• 23
• 10
• 9
• ### Forum Statistics

• Total Topics
633648
• Total Posts
3013113
×