mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-05 06:45:37 +01:00
16 lines
311 B
HLSL
16 lines
311 B
HLSL
struct WorldTransforms
|
|
{
|
|
float4x4 World;
|
|
float4x4 WorldInverse;
|
|
float4x4 WorldInverseTranspose;
|
|
float4x4 WorldView;
|
|
float4x4 WorldViewProjection;
|
|
float4x4 WorldViewProjectionTranspose;
|
|
};
|
|
|
|
struct ViewTransforms
|
|
{
|
|
float4x4 View;
|
|
float4x4 ViewInverse;
|
|
float3 CameraPosition;
|
|
}; |