MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / MakeRotationX

Method MakeRotationX

TSMatrix4D.cpp:613–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613Transform3D Transform3D::MakeRotationX(float angle)
614{
615 Vector2D v = CosSin(angle);
616
617 return (Transform3D(1.0F, 0.0F, 0.0F, 0.0F,
618 0.0F, v.x, -v.y, 0.0F,
619 0.0F, v.y, v.x, 0.0F));
620}
621
622Transform3D Transform3D::MakeRotationY(float angle)
623{

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
Transform3DClass · 0.70

Tested by

no test coverage detected