So i could really use someone who would look at my code... I have tried to use the unproject function... but I have only managed to make the console write that i have nothing selected
here is my...
Type: Posts; User: alexandrafotin
So i could really use someone who would look at my code... I have tried to use the unproject function... but I have only managed to make the console write that i have nothing selected
here is my...
on the console it also write the coord of the point where i have click... those are correct, the x and y coord as i have understood are take from the glupickmatrix function... i can say that the x...
#define Sun 1
#define Mercur 2
#define Venus 3
#define Terra 4
#define Moon 5
#define Marte 6
#define Jupiter 7
#define Saturn 8
#define Uranus 9
#define Pluto 10
my problem is that now anywhere i hit the left mouse button it says that i have selected the sun... no matter what planet i have click on... and i don't know where is my mistake into the code.. the...
Here i post my code so that you could me in a better position to help me:
#include "SolarSystem.h"
#include "windows.h"
#include <stdio.h>
Hello everybody,
I want to ask help for a project I make.
I have made a complete solar system with key action for zoom in zoom out, moving along x,y,z axes on plus or minus and going...