Search:

Type: Posts; User: silverrainmaker

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,332

    Ok, solved!!, the strange rotation i was having...

    Ok, solved!!, the strange rotation i was having made me think there was somthing with the angles range but there wasn't.

    The error was i was rotating a vector by a quaternion when what i really...
  2. Replies
    5
    Views
    5,332

    the rotation must be 360 degrees clockwise o...

    the rotation must be 360 degrees clockwise o counterclockwise, not just only 180
  3. Replies
    5
    Views
    5,332

    rotate an object in Opengl

    Hi, i'm learning opengl through a little app and now ive bumped into the 3d rotational problem.

    I store data for my object both the Rotation matrix and the quaternion. I want to visualize it and i...
  4. Replies
    5
    Views
    1,197

    i've found this code for preprocessor that does...

    i've found this code for preprocessor that does what i want


    #define swap(_a,_b,_type)\
    {\
    _type _tmp;\
    \
    _tmp = (_a);\
    (_a) = (_b);\
    (_b) = _tmp;\
  5. Replies
    5
    Views
    1,197

    Vector container in C

    I want to complete a vector container in C. I have the following function add_element() and i want to pass it a 'type' argument which is the type of the argument for data. How can this be done?

    it...
Results 1 to 5 of 5