You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
removed denorm col tri in wdw (#631)
This commit is contained in:
@@ -508,7 +508,7 @@ const Collision wdw_seg7_area_1_collision[] = {
|
||||
COL_VERTEX(-3839, 1300, 1249),
|
||||
COL_VERTEX(3103, 1428, 3681),
|
||||
COL_VERTEX(3681, 1428, 3681),
|
||||
COL_TRI_INIT(SURFACE_DEFAULT, 583),
|
||||
COL_TRI_INIT(SURFACE_DEFAULT, 582),
|
||||
COL_TRI(161, 193, 194),
|
||||
COL_TRI(165, 195, 193),
|
||||
COL_TRI(165, 193, 161),
|
||||
@@ -784,7 +784,8 @@ const Collision wdw_seg7_area_1_collision[] = {
|
||||
COL_TRI(288, 320, 445),
|
||||
COL_TRI(288, 59, 62),
|
||||
COL_TRI(286, 320, 288),
|
||||
COL_TRI(190, 189, 192),
|
||||
// HackerSM64: denorm removed
|
||||
// COL_TRI(190, 189, 192),
|
||||
COL_TRI(289, 188, 190),
|
||||
COL_TRI(290, 291, 451),
|
||||
COL_TRI(291, 447, 144),
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "game/object_list_processor.h"
|
||||
#include "surface_load.h"
|
||||
#include "game/puppyprint.h"
|
||||
#include "game/debug.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
@@ -273,6 +274,7 @@ static struct Surface *read_surface_data(TerrainData *vertexData, TerrainData **
|
||||
|
||||
f32 mag = (sqr(n[0]) + sqr(n[1]) + sqr(n[2]));
|
||||
// This will never need to be run for custom levels because Fast64 does this step before exporting.
|
||||
// assert(mag >= NEAR_ZERO, "Denorm tri was found.");
|
||||
#ifdef ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS
|
||||
if (mag < NEAR_ZERO) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user