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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 111629

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

0
votes
Your value of movespeed=10 is a special case where each block collides with the wall at the same distance into the wall. In order to keep your spacing the same, the boxes must each travel a distance …
answered Feb 20 '18 by Kyy13
1
vote
Although I'm not sure about the math behind it, you could replicate a Unity function that does this. https://docs.unity3d.com/ScriptReference/Quaternion.LookRotation.html LookRotation has 2 para …
answered Mar 1 '18 by Kyy13
1
vote
Here is one of many ways to do it. First I will explain an algorithm for dropping the pieces, then I will explain how to drop them at intervals that don't line up with the grid... -- 0 background …
answered Mar 8 '18 by Kyy13
0
votes
You could calculate the distance from each point to each line segment. For both rectangles it would be 8 points and 8 lines, but you only need to test between points and lines on separate rectangles. …
answered Feb 22 '18 by Kyy13
2
votes
1answer
I am creating an engine in opengl. As the distance from the player increases, the width and height of the tiles increase by factors of 2. How can I do this? I am currently just averaging, but I miss s …
asked Jan 17 '18 by Kyy13