dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Aideux

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    729

    Re: How to print out TSP permutations?

    Is it possible to get the permutations to appear line by line? I want it to have 5 values per line.
  2. Replies
    3
    Views
    729

    How to print out TSP permutations?

    I'm working on a travelling salesman problem, but I can't figure out how to print out the permutations as they are run through. Can someone point me in the right direction? Thank you! Here is my...
  3. Re: (OpenGL) Trying to get object to chase the camera, but unsure how

    I know my program is logically unsound and inefficient, but I really just need help with the math and logic of how I would get the model to chase the camera. I do agree that these exercises could be...
  4. (OpenGL) Trying to get object to chase the camera, but unsure how

    Hey there! So, I'm trying to get my "Ogro" object to chase the camera, but I am currently unsure as to how to accomplish this. Could someone please help me out with this? I don't need AI that can...
  5. Re: (OpenGL) Possible to achieve keyboard() functionality outside of keyboard()?

    Wow, I feel so silly. It really is the little things, isn't it? Thank you so much.
  6. Re: (OpenGL) Possible to achieve keyboard() functionality outside of keyboard()?

    Here is my checkKeyboard():


    void CheckKeyboard()
    {
    int o = 0;

    if (keyDown['a'])
    camera->RotateLeft();
    if (keyDown['d'])
  7. (OpenGL) Possible to achieve keyboard() functionality outside of keyboard()?

    So, I have my keyboard function handling what happens during specific button presses, but I feel as though I can be more specific to which objects are effected by the button presses if I am somehow...
  8. Replies
    9
    Views
    1,518

    Re: OpenGL program refuses to enter "for" loop

    That works! It enters the loop now, which is amazing! Unfortunately, it restricts camera movement upon loading, but I feel like I know why.

    So the reason what you suggested I do works is because...
  9. Replies
    9
    Views
    1,518

    Re: OpenGL program refuses to enter "for" loop

    So I actually gave this a shot in the past, but the line
    if (camera->getPosition().x >= ((*i)->Position.x - (*i)->getXBuffer()) && camera->getPosition().x <= ((*i)->Position.x +...
  10. Replies
    9
    Views
    1,518

    Re: OpenGL program refuses to enter "for" loop

    There are two classes that are used to make boxes.

    Box.cpp


    #include "Box.h"



    void Box::setPosition(vec3 position)
  11. Replies
    9
    Views
    1,518

    Re: OpenGL program refuses to enter "for" loop

    Did I not populate the vector in the Display function? I'm honestly so new to OpenGL and it seems more than a little foreign to me. If I did not, then how could I go about populating the vector so...
  12. Replies
    9
    Views
    1,518

    OpenGL program refuses to enter "for" loop

    Hey all! I've been getting this issue when I'm trying to check for collision against the camera in my game and boxes I've created. For some reason, however, the program refuses to enter the for loop...
Results 1 to 12 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)