Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Dark Engineer

Member Since 21 Jan 2013
Offline Last Active Apr 25 2013 12:36 PM

Posts I've Made

In Topic: How to use glfwSetKeyCallback?

13 April 2013 - 07:53 AM

It doesn't show errors but if i want to put this cameraInstance to the Camera class and my class is used by one another class then shows

1>main.obj : error LNK2005: "class Camera * cameraInstance" (?cameraInstance@@3PAVCamera@@A) already defined in Camera.obj
1>Pipeline.obj : error LNK2005: "class Camera * cameraInstance" (?cameraInstance@@3PAVCamera@@A) already defined in Camera.obj
1> fatal error LNK1169: one or more multiply defined symbols found

In Topic: How to use glfwSetKeyCallback?

13 April 2013 - 06:10 AM

This

		glfwSetKeyCallback(Camera::keyWrapper);

 

don't work

error C2664: 'glfwSetKeyCallback' : cannot convert parameter 1 from 'bool (__cdecl *)(int)' to 'GLFWkeyfun'
1>          None of the functions with this name in scope match the target type


In Topic: [OpenGL] render mesh with shaders

06 April 2013 - 02:30 PM

thanks for advice, i'm using this site but not from the beginning, i will try to study it again


In Topic: OpenGL mesh with light

02 April 2013 - 11:16 AM

My mesh wasn't work properly so i was thinking that is because i don't have lights


In Topic: OpenGL triangle example

23 January 2013 - 09:48 AM

Solved it just needed to change in loop GLFW_WINDOW to GLFW_OPENED


PARTNERS