MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / Transform

Method Transform

Shadows/SampleFramework11/Model.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void Transform(const Float3& p, const Float3& s, const Quaternion& q)
52 {
53 Position *= s;
54 Position = Float3::Transform(Position, q);
55 Position += p;
56
57 Normal = Float3::Transform(Normal, q);
58 Tangent = Float3::Transform(Tangent, q);
59 Bitangent = Float3::Transform(Bitangent, q);
60 }
61};
62
63static const D3D11_INPUT_ELEMENT_DESC VertexInputs[5] =

Callers 2

InitBoxMethod · 0.45
InitPlaneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected