Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Coder.Test/Languages/ExemplarHeaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class ExemplarHeaderTests
#include <type_traits>

#include "holotype/core/units.hpp"
#include "holotype/core/vec.hpp"
#include "holotype/core/vector.hpp"

namespace holo::components
{
Expand All @@ -62,7 +62,7 @@ enum class BodyKind : std::uint8_t
/// unit: m/s
/// interpolated between states
/// network: quantised to 0.01, delta encoded
holo::Vec3<holo::MetresPerSecond> velocity{};
holo::Vector3<holo::MetresPerSecond> velocity{};

/// unit: kg
/// range: [0.001, 1000000]
Expand Down Expand Up @@ -106,7 +106,7 @@ private static SourceFile RigidBodyHeader()

rigidBody.Members.Add(Field(
"velocity",
"holo::Vec3<holo::MetresPerSecond>",
"holo::Vector3<holo::MetresPerSecond>",
null,
"Linear velocity in world space.",
"unit: m/s",
Expand Down Expand Up @@ -160,7 +160,7 @@ private static SourceFile RigidBodyHeader()
file.Imports.Add("<type_traits>");
file.Imports.Add("");
file.Imports.Add("holotype/core/units.hpp");
file.Imports.Add("holotype/core/vec.hpp");
file.Imports.Add("holotype/core/vector.hpp");
file.Members.Add(components);

return file;
Expand Down