remove unused Platform_NewUuid

This commit is contained in:
UnknownShadow200 2017-08-30 11:27:18 +10:00
parent 4274e04a87
commit ebf4d135ba
2 changed files with 4 additions and 9 deletions

View File

@ -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;

View File

@ -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;\