Skip to content

Commit

Permalink
Vector example
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Jul 25, 2023
1 parent e67f06a commit 90f3a11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/example-vector-1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ namespace lrc = librapid;
int main() {
fmt::print("LibRapid Example -- Vector 1\n");

// I'm rewriting the entire vectory library, so this code currently does not work.
// I'll have a new example up soon <3
/*
// Create a 3 dimensional vector
lrc::Vec3d myVector(2, 3, 4);
lrc::Vec3d myOtherVector(10, 5, 8);
Expand Down Expand Up @@ -38,6 +41,7 @@ int main() {
lrc::Vec3d start2(0, 0, 0);
lrc::Vec3d end2(100, 100, 100);
fmt::print("Mapping: {}\n", lrc::map(value, start1, end1, start2, end2));
*/

return 0;
}

0 comments on commit 90f3a11

Please sign in to comment.