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

Method Transform

SampleFramework12/v1.00/Graphics/Model.h:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void Transform(const Float3& p, const Float3& s, const Quaternion& q)
47 {
48 Position *= s;
49 Position = Float3::Transform(Position, q);
50 Position += p;
51
52 Normal = Float3::Transform(Normal, q);
53 Tangent = Float3::Transform(Tangent, q);
54 Bitangent = Float3::Transform(Bitangent, q);
55 }
56
57 template<typename TSerializer> void Serialize(TSerializer& serializer)
58 {

Callers 2

InitBoxMethod · 0.45
InitPlaneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected