lygia
/v1.1.6
/math
/rotate3dY
)returns a 3x3 rotation matrix
Use:
rotate3dY(<float> radians)
#ifndef FNC_ROTATE3DY
#define FNC_ROTATE3DY
mat3 rotate3dY(in float theta){
return mat3(vec3(cos(theta),0.,-sin(theta)),
vec3(0.,1.,0.),
vec3(sin(theta),0.,cos(theta)));
}
#endif
LYGIA is dual-licensed under the Prosperity License and the Patron License for sponsors and contributors.
Sponsors and contributors are automatically added to the Patron License and they can ignore the any non-commercial rule of the Prosperity Licensed software (please take a look to the exception).
It's also possible to get a permanent comercial license hook to a single and specific version of LYGIA.
Sign up for the news letter bellow, joing the LYGIA's channel on Discord or follow the Github repository