legends2k
I roam around hunting for bits in mathematics, graphics, C++, C, Lua, Python and design-related questions; have learnt a lot here. I like giving elaborate answers with examples and citations.
Here are some I enjoyed answering and asking.
Answers:
- Rotating a Vector in 3D space
- Calculating a perpendicular offset from a diagonal line
- Deriving OpenGL's utility function
gluLookAt
- How can a program be OS-independent?
- Efficiently calculating rotation matrix from 2 vectors
- In OpenGL why give gluPerspective before gluLookAt?
- How are textures referenced in shader?
- How many pixels is a meter?
- Rendering the HSV wheel
- How to interpolate hue values in HSV colour space?
- Shift operator in C
- Passing 2D array to a function
- Lua multiple assignment with tables
- Difference between
move
andforward
- Taking
std::function
with templatized parameter as a parameter - Linkage of symbols within anonymous namespace within a regular namespace
- Confusion on strings in C
Questions:
- Purpose of Unions
- Why is
(void)0
a no-op in C and C++? - When is a conditional variable needed, isn't a mutex enough?
- Mixing extern and const
I can type 77 words per minute :)
1
answer
0
questions
0
people reached
-
Hyderabad, India
-
Member for 10 years, 5 months
-
43 profile views
-
Last seen Nov 30 '20 at 6:12
Communities (27)
Top network posts
Badges (7)
Gold
—
Silver
1
Rarest
-
Jan 29 '16
Bronze
6
Rarest
-
May 16 '11
-
Oct 9 '10
-
Sep 30 '10