Microflow 3D  v1.0
Vec3.h
Go to the documentation of this file.
1 // ==============================================================================================
2 // Microflow 3D, http://www.microflow.pwr.edu.pl/
3 // Created by Roman Szafran on 24.05.19.
4 // Copyright (c) 2019 Wroclaw University of Science and Technology.
5 // Distributed under the Apache License, Version 2.0. You may obtain a copy of the License at
6 // http://www.apache.org/licenses/LICENSE-2.0 or see accompanying file license.txt.
7 // Redistributions of source code must retain the above copyright and license notice.
8 // ==============================================================================================
9 
10 # pragma once
11 
12 namespace MF {
13  namespace Database {
14 
17  template <typename T>
18  struct Vec3 {
19  T x {0};
20  T y {0};
21  T z {0};
22  };
23 
24  } /* namespace Database */
25 } /* namespace MF */
T y
Y direction value.
Definition: Vec3.h:20
T z
Z direction value.
Definition: Vec3.h:21
T x
X direction value.
Definition: Vec3.h:19
A three element vector data structure.
Definition: Vec3.h:18