mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
22 lines
835 B
C++
22 lines
835 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
struct InputVertexData;
|
|
struct OutputVertexData;
|
|
|
|
namespace TransformUnit
|
|
{
|
|
void MultiplyVec2Mat24(const float *vec, const float *mat, float *result);
|
|
void MultiplyVec2Mat34(const float *vec, const float *mat, float *result);
|
|
void MultiplyVec3Mat33(const float *vec, const float *mat, float *result);
|
|
void MultiplyVec3Mat34(const float *vec, const float *mat, float *result);
|
|
|
|
void TransformPosition(const InputVertexData *src, OutputVertexData *dst);
|
|
void TransformNormal(const InputVertexData *src, bool nbt, OutputVertexData *dst);
|
|
void TransformColor(const InputVertexData *src, OutputVertexData *dst);
|
|
void TransformTexCoord(const InputVertexData *src, OutputVertexData *dst, bool specialCase);
|
|
}
|