Fix camera
This commit is contained in:
parent
7cc9de3910
commit
2b56e2bd1d
@ -105,7 +105,8 @@ void CameraClass::Render()
|
||||
return;
|
||||
}
|
||||
|
||||
XMMATRIX CameraClass::GetViewMatrix()
|
||||
XMMATRIX CameraClass::GetViewMatrix(XMMATRIX& viewMatrix)
|
||||
{
|
||||
return m_viewMatrix;
|
||||
viewMatrix = m_viewMatrix;
|
||||
return viewMatrix;
|
||||
}
|
@ -30,7 +30,7 @@ public:
|
||||
|
||||
|
||||
void Render();
|
||||
XMMATRIX GetViewMatrix();
|
||||
XMMATRIX GetViewMatrix(XMMATRIX& viewMatrix);
|
||||
|
||||
private:
|
||||
float m_positionX, m_positionY, m_positionZ;
|
||||
|
@ -1,13 +0,0 @@
|
||||
<Page
|
||||
x:Class="enginecustom.Translate"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:enginecustom"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Button x:Name="Button" Click="ClickHandler">Click Me</Button>
|
||||
</StackPanel>
|
||||
</Page>
|
Loading…
x
Reference in New Issue
Block a user