Reviewed #30 pull request

- Added customizable colors in the configuration
- Cleaned code just a bit
- Updated offsets to the latest game version

Thnaks @ifBars for great ideas in with his pull request
This commit is contained in:
IMXNOOBX
2023-10-12 12:50:49 +02:00
parent 61940cb6cc
commit 889cee1aa0
7 changed files with 283 additions and 275 deletions
+8
View File
@@ -99,6 +99,14 @@ struct Vector3
return { x, y, w };
}
float calculate_distance(const Vector3& point) const {
float dx = point.x - x;
float dy = point.y - y;
float dz = point.z - z;
return std::sqrt(dx * dx + dy * dy + dz * dz);
}
// struct data
float x, y, z;
};