OHOS::Vector3< T >

Overview

Related Modules:

Graphic

Description:

Defines the 3-dimensional vector, and provides basic operators such as [] and ==.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name Description
Vector3 () A constructor used to create a Vector3 instance.
Vector3 (T x, T y, T z) Defines a Vector3 instance and initializes the values of x, y, and z.
~Vector3 () A destructor used to delete the Vector3 instance.
operator new (size_t size) void Overrides the new function.
operator delete (void p) void Overrides the delete function.