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

Method Transform

SampleFramework11/v1.02/Graphics/Model.cpp:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

InitBoxMethod · 0.45
InitPlaneMethod · 0.45

Calls 1

TransformClass · 0.50

Tested by

no test coverage detected