-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathmain.cpp
More file actions
33 lines (29 loc) · 844 Bytes
/
main.cpp
File metadata and controls
33 lines (29 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* Copyright (c) 2011, Georgi Grinshpun
* Copyright (c) 2011-2012, Fabian Greif
* Copyright (c) 2012, Sascha Schade
* Copyright (c) 2013, Kevin Läufer
* Copyright (c) 2013, 2015-2018, Niklas Hauser
*
* This file is part of the modm project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// ----------------------------------------------------------------------------
#include <modm/board.hpp>
#include <modm/math/geometry.hpp>
// ----------------------------------------------------------------------------
int
main()
{
Board::initialize();
while (true)
{
modm::Vector<float, 2> v(1.0f, 2.0f);
v.getLength();
modm::Quaternion<float> q;
q.getLength();
}
}