-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRender.h
More file actions
42 lines (26 loc) · 713 Bytes
/
Render.h
File metadata and controls
42 lines (26 loc) · 713 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
34
35
36
37
38
39
40
41
42
#pragma once
#include "base.h"
#include "engine.h"
#include "ImGui/imgui.h"
class Render {
public:
Render(AActor* LocalPlayer, AActor* Actor);
void DrawBone(ImColor Color);
void DrawBox2D(ImColor Color);
void DrawBox3D(ImColor Color);
void DrawRadar(ImColor Color);
void DrawBlood(ImColor Color);
void DrawLosLine(ImColor Color);
void DrawSnapLine(ImColor Color);
private:
void DrawPartBone(int32_t start, int32_t end, ImColor Color);
int FindLeftPoint();
int FindRightPoint();
int FindHighestPoint();
int FindLowestPoint();
AActor* Actor = NULL;
AActor* LocalPlayer = NULL;
bool BoneIs[BoneFNames::Max];
Vector3 BonePos[BoneFNames::Max];
Vector2f BonePoint[BoneFNames::Max];
};