mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 12:05:14 -04:00
remove unused Platform_NewUuid
This commit is contained in:
parent
4274e04a87
commit
ebf4d135ba
@ -77,11 +77,12 @@ bool Entity_TouchesAny(AABB* bounds, TouchesAny_Condition condition) {
|
||||
Vector3 v;
|
||||
|
||||
/* Order loops so that we minimise cache misses */
|
||||
for (Int32 y = bbMin.Y; y <= bbMax.Y; y++) {
|
||||
Int32 x, y, z;
|
||||
for (y = bbMin.Y; y <= bbMax.Y; y++) {
|
||||
v.Y = (Real32)y;
|
||||
for (Int32 z = bbMin.Z; z <= bbMax.Z; z++) {
|
||||
for (z = bbMin.Z; z <= bbMax.Z; z++) {
|
||||
v.Z = (Real32)z;
|
||||
for (Int32 x = bbMin.X; x <= bbMax.X; x++) {
|
||||
for (x = bbMin.X; x <= bbMax.X; x++) {
|
||||
if (!World_IsValidPos(x, y, z)) continue;
|
||||
v.X = (Real32)x;
|
||||
|
||||
|
@ -41,12 +41,6 @@ void Platform_Log(String message) {
|
||||
/* TODO: log to console */
|
||||
}
|
||||
|
||||
void Platform_NewUuid(UInt8* uuid) {
|
||||
GUID guid;
|
||||
CoCreateGuid(&guid);
|
||||
Platform_MemCpy(uuid, &guid, 16);
|
||||
}
|
||||
|
||||
/* Not worth making this an actual function, just use an inline macro. */
|
||||
#define Platform_ReturnDateTime(sysTime)\
|
||||
DateTime time;\
|
||||
|
Loading…
x
Reference in New Issue
Block a user