MCPcopy Create free account
hub / github.com/electronstudio/raylib-python-cffi / MatrixRotateY

Function MatrixRotateY

examples/shaders/rlmath.py:43–54  ·  view source on GitHub ↗
(angle)

Source from the content-addressed store, hash-verified

41
42
43def MatrixRotateY(angle):
44 result = MatrixIdentity()
45
46 cosres = math.cos(angle);
47 sinres = math.sin(angle);
48
49 result.m0 = cosres;
50 result.m2 = sinres;
51 result.m8 = -sinres;
52 result.m10 = cosres;
53
54 return result;
55
56
57def MatrixIdentity():

Callers

nothing calls this directly

Calls 1

MatrixIdentityFunction · 0.85

Tested by

no test coverage detected