Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.
0
votes
How do i set Lua variables?
If your intention is to modify your Lua State so that your Lua script can access parameters set from C++, you need to actually set those values before calling into Lua (luaL_dofile is a helper for loa …
3
votes
Accepted
Is there a common way to execute a task at a certain pace, without relying on the task prior...
You can use the concept of Coroutines to execute a long task with other activities at the same time on a single thread. Basically it is a function which can yield execution control voluntarily. The …
7
votes
Accepted
How can I implement a main menu?
As congusbongus notes in his answer, many games benefit from dividing content into "scenes". A scene might represent a particular level, a room, a minigame, or lots of other possibilities, depending …
3
votes
Accepted
How can I set up an intuitive perspective projection/view matrix combination in OpenGL, usin...
user1118321's answer will provide you the correct answer, though it is more general than necessary. Since we're dealing with a right triangle, the easiest solution is to use the definition of the tan …