恋爱计时器
亲爱的YX,我们已经认识了
Days Hours Minutes Seconds
[Read More]
VAO,VBO,EBO
Point and Vector
In a game or a 3D graphical application, a point is normally represented by a 4-component column(row) vector.
\(p=\begin{pmatrix}
a\\b\\c\\1\end
{pmatrix}\)
[Read More]
Transformation
Point and Vector
In a game or a 3D graphical application, a point is normally represented by a 4-component column(row) vector.
\(p=\begin{pmatrix}
a\\b\\c\\1\end
{pmatrix}\)
[Read More]
Homogeneous coordinate
Matrix
Before diving into the homogeneous coordinate, it’s important to understand why matrix is preferred in transformation calculation.
Let’s begin the discussion with a simple scenario, If we want to rotate a point p with respect to origin o anti-clock wisely 90°
[Read More]
Randomness in GLSL
Random In c++, An iterator is any object that, pointing to some element in a range of elements (such as an array or a container), has the ability to iterate through the elements of that range using a set of operators (with at least the increment (++) and dereference (*)...
[Read More]