Skip to content

Commit 5d1c17b

Browse files
Removes no longer used function
1 parent c47ed14 commit 5d1c17b

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

Library/include/playrho/d2/Body.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ class Body
9999
/// @post <code>GetInvRotI()</code> returns <code>InvRotInertia{}</code> if
100100
/// <code>bd.type != BodyType::Dynamic</code>, otherwise it returns value of
101101
/// @a bd.invRotI.
102-
/// @post <code>GetTransformation()</code> will return the value of
103-
/// <code>::playrho::d2::GetTransformation(const BodyConf&)</code> given @a bd.
104102
/// @post <code>GetVelocity()</code> will return the value as if
105103
/// <code>SetVelocity(const Velocity&)</code> had been called with the values of
106104
/// @a bd.linearVelocity and @a bd.angularVelocity as the velocity.

Library/include/playrho/d2/BodyConf.hpp

-4
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,6 @@ constexpr BodyConf GetDefaultBodyConf() noexcept
418418
/// @relatedalso Body
419419
BodyConf GetBodyConf(const Body& body);
420420

421-
/// @brief Gets the transformation associated with the given configuration.
422-
/// @relatedalso BodyConf
423-
Transformation GetTransformation(const BodyConf& conf) noexcept;
424-
425421
/// @brief Gets the location of the given configuration.
426422
/// @relatedalso BodyConf
427423
constexpr auto GetLocation(const BodyConf& conf) noexcept

Library/source/playrho/d2/BodyConf.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,4 @@ BodyConf GetBodyConf(const Body& body)
5050
return def;
5151
}
5252

53-
Transformation GetTransformation(const BodyConf& conf) noexcept
54-
{
55-
// This must match what GetTransformation(Body{}) returns
56-
return GetTransform1(conf.sweep);
57-
}
58-
5953
} // namespace playrho::d2

0 commit comments

Comments
 (0)