Dali 3D User Interface Engine
Functions
Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-camera-attachment.cpp} Namespace Reference

Functions

void LookAt (Matrix &result, const Vector3 &eye, const Vector3 &target, const Vector3 &up)
 
void Frustum (Matrix &result, float left, float right, float bottom, float top, float near, float far, bool invertYAxis)
 
void Perspective (Matrix &result, float fovy, float aspect, float near, float far, bool invertYAxis, const Vector2 &stereoBias)
 
void Orthographic (Matrix &result, float left, float right, float bottom, float top, float near, float far, bool invertYAxis)
 

Function Documentation

void Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-camera-attachment.cpp}::Frustum ( Matrix &  result,
float  left,
float  right,
float  bottom,
float  top,
float  near,
float  far,
bool  invertYAxis 
)

Definition at line 62 of file scene-graph-camera-attachment.cpp.

References Dali::Matrix::AsFloat(), DALI_ASSERT_DEBUG, DALI_LOG_ERROR, Dali::Equals(), and Dali::Matrix::SetIdentity().

Referenced by Perspective().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-camera-attachment.cpp}::LookAt ( Matrix &  result,
const Vector3 &  eye,
const Vector3 &  target,
const Vector3 &  up 
)

Definition at line 47 of file scene-graph-camera-attachment.cpp.

References Dali::Vector3::Cross(), Dali::Vector3::Normalize(), and Dali::Matrix::SetInverseTransformComponents().

Here is the call graph for this function:

void Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-camera-attachment.cpp}::Orthographic ( Matrix &  result,
float  left,
float  right,
float  bottom,
float  top,
float  near,
float  far,
bool  invertYAxis 
)

Definition at line 102 of file scene-graph-camera-attachment.cpp.

References Dali::Matrix::AsFloat(), DALI_ASSERT_DEBUG, DALI_LOG_ERROR, and Dali::Equals().

Referenced by Dali::Internal::SceneGraph::CameraAttachment::UpdateProjection().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-camera-attachment.cpp}::Perspective ( Matrix &  result,
float  fovy,
float  aspect,
float  near,
float  far,
bool  invertYAxis,
const Vector2 &  stereoBias 
)

Definition at line 93 of file scene-graph-camera-attachment.cpp.

References Frustum(), Dali::Vector2::x, and Dali::Vector2::y.

Referenced by Dali::Internal::SceneGraph::CameraAttachment::UpdateProjection().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali