Skip to content

Commit

Permalink
Added ex.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
obicons committed Jul 28, 2022
1 parent fd0e69d commit 27a9c55
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions demos/01/ex.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once

extern double alt_in_cm;

namespace afrl {
namespace cmasi {
class Location3D {
public:
double getAltitude() {
return 0.0;
}
};
}
}

void set_alt_in_cm(int p) {
alt_in_cm = p;
}

int get_value() {
int x;
return 42 + x;
}

0 comments on commit 27a9c55

Please sign in to comment.