mirror of
https://github.com/open-goal/jak-project
synced 2026-05-28 08:25:56 -04:00
dff9ac163a
- Bug fix to KD tree splitting, should fix cases with bad vertex colors/alphas. - Normalize normals instead of asserting if they are the wrong length. **the fact that blender exports normals incorrectly is a bug and I doubt their implementation is correct if you've scaled things on only on axis.** - Automatically resize metallic texture (envmap strength) if it doesn't match the size of the rgb texture instead of asserting Co-authored-by: water111 <awaterford1111445@gmail.com>
12 lines
326 B
C
12 lines
326 B
C
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
void resize_rgba_image(u8* dst,
|
|
int dst_w,
|
|
int dst_h,
|
|
const u8* src,
|
|
int src_w,
|
|
int src_h,
|
|
bool wrap_w,
|
|
bool wrap_h); |