Li0n
768c8b2caa
The player's camera in Minetest has limited degrees of freedom: It can only rotate around the Y axis and look up and down. This means players can vary pitch and yaw, but never roll. This implies that the ”right” vector used to construct the lens must be aligned with the horizon. This constraint was not taken into account before this patch, so the in-game images rendered by xcam were often somehow tilted. This patch sets the Y component of the “right” vector to zero to align the “right” vector with the horizon: This makes the vector determined by its X and Z components only and thus aligned with any horizontal plane in Minetest's coordinate system. |
||
---|---|---|
LICENSE | ||
init.lua | ||
mod.conf |