mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Rename
This commit is contained in:
parent
6d195dbb63
commit
1afa98169f
2 changed files with 9 additions and 9 deletions
|
@ -1530,10 +1530,10 @@ void LoadMirrors()
|
|||
auto& mirror = g_Level.Mirrors.emplace_back();
|
||||
|
||||
mirror.RoomNumber = ReadInt16();
|
||||
mirror.MirrorPlane.x = ReadFloat();
|
||||
mirror.MirrorPlane.y = ReadFloat();
|
||||
mirror.MirrorPlane.z = ReadFloat();
|
||||
mirror.MirrorPlane.w = ReadFloat();
|
||||
mirror.Plane.x = ReadFloat();
|
||||
mirror.Plane.y = ReadFloat();
|
||||
mirror.Plane.z = ReadFloat();
|
||||
mirror.Plane.w = ReadFloat();
|
||||
|
||||
mirror.ReflectLara = ReadBool();
|
||||
mirror.ReflectMoveables = ReadBool();
|
||||
|
@ -1543,10 +1543,10 @@ void LoadMirrors()
|
|||
mirror.Enabled = true;
|
||||
|
||||
Plane plane = Plane(
|
||||
Vector3(mirror.MirrorPlane.x,
|
||||
mirror.MirrorPlane.y,
|
||||
mirror.MirrorPlane.z),
|
||||
mirror.MirrorPlane.w);
|
||||
Vector3(mirror.Plane.x,
|
||||
mirror.Plane.y,
|
||||
mirror.Plane.z),
|
||||
mirror.Plane.w);
|
||||
|
||||
mirror.ReflectionMatrix = Matrix::CreateReflection(plane);
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ struct MESH
|
|||
struct MirrorInfo
|
||||
{
|
||||
short RoomNumber;
|
||||
Vector4 MirrorPlane;
|
||||
Vector4 Plane;
|
||||
Matrix ReflectionMatrix;
|
||||
bool ReflectLara;
|
||||
bool ReflectMoveables;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue