-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeader.h
More file actions
31 lines (26 loc) · 824 Bytes
/
Header.h
File metadata and controls
31 lines (26 loc) · 824 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
#pragma once
#include <cmath>
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#define M_PI 3.14159265358979323846
using namespace std;
const double L = 380.0;
const double r = 110.0;
const double a = 330.0;
const double c = 410.0;
const double s = 260.0;
const double shift = 380;
const double bad_value = -10;
platform border_set(const double a, const double b, const double c);
engine_position build(const platform *plat, const platform *constraints);
double accessory(double m, double j, double k, int flag);
inline engine_position round(const engine_position &vec);
engine_position dimensional_transform(const engine_position vec, int size_factor);
engine_position rotation_engine_names(engine_position vec);
template <typename T>
int sign(T x) {
if (x > 0) return 1;
return -1;
};