direct x matrices

This is a discussion on direct x matrices within the C# Programming forums, part of the General Programming Boards category; RE EDITED WHOLE POST: ok so let me revise my question. I have a mesh that is a square: Code: ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    direct x matrices

    RE EDITED WHOLE POST:

    ok so let me revise my question. I have a mesh that is a square:

    Code:
    Mesh pmesh = Mesh.Box(device, 50, 50, 50);
    And I have a matrix that I got from the physics engine I am "porting" over to .net. With that matrix I am suposed to apply it to the mesh (so it rotates and stuff correctly) and than draw the mesh.

    I got all but applying the matrix to the mesh? So if anyone has any idea on how to do that, it would be great!


    And I also think this is more of a game post now.
    Last edited by Rune Hunter; 07-24-2005 at 11:59 AM.

  2. #2
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Umm never mind I think I got it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C simple Matrices
    By Cyberman86 in forum C Programming
    Replies: 3
    Last Post: 05-07-2009, 06:20 PM
  2. adding matrices, help with switches
    By quiet_forever in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2007, 09:21 AM
  3. Direct Input shutting down improperly
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 06-14-2005, 07:54 AM
  4. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-14-2004, 12:19 AM
  5. Problem multiplying rotation matrices together
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-04-2003, 09:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21