Added reference of Camera::SetTarget
Former-commit-id: 5a3d1f28de326325093d358e32991ce2c404ec84
This commit is contained in:
parent
7e60bc2d81
commit
f4a5ddc26b
|
|
@ -43,6 +43,7 @@ class NAZARA_API NzCamera : public NzSceneNode
|
|||
|
||||
void SetFOV(float fov);
|
||||
void SetTarget(const NzRenderTarget* renderTarget);
|
||||
void SetTarget(const NzRenderTarget& renderTarget);
|
||||
void SetUpVector(const NzVector3f& upVector);
|
||||
void SetViewport(const NzRectf& viewport);
|
||||
void SetZFar(float zFar);
|
||||
|
|
|
|||
|
|
@ -172,6 +172,11 @@ void NzCamera::SetTarget(const NzRenderTarget* renderTarget)
|
|||
m_target = renderTarget;
|
||||
}
|
||||
|
||||
void NzCamera::SetTarget(const NzRenderTarget& renderTarget)
|
||||
{
|
||||
SetTarget(&renderTarget);
|
||||
}
|
||||
|
||||
void NzCamera::SetUpVector(const NzVector3f& upVector)
|
||||
{
|
||||
m_upVector = upVector;
|
||||
|
|
|
|||
Loading…
Reference in New Issue