Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXAMPLES #2

Closed
john-chapman opened this issue Jan 15, 2017 · 0 comments
Closed

EXAMPLES #2

john-chapman opened this issue Jan 15, 2017 · 0 comments

Comments

@john-chapman
Copy link
Owner

john-chapman commented Jan 15, 2017

  • Demonstrate how to correctly fill AppData (including the cursor ray). Lots of comments. Use GetAsyncKeyState() for the keydown array, but note it's not the best way.
  • Example draw function, notes about how to use a depth buffer, etc.
  • Example init + shaders.

Each example should be 1 cpp of the form im3d_, with some Im3d_ functions in it. Everything else goes in im3d_example.h/im3d_example.cpp with a shit tonne of #ifdefs (simplified, centralized albeit a bit messy).

Each example should have its own premake build script. Use defines to control what's compiled in the example 'common' code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant