共用方式為


float_2 Class

Represents a short vector of two floats.

class float_2;

Members

Public Typedefs

Name

Description

value_type

Public Constructors

Name

Description

float_2::float_2 Constructor

Overloaded. Default constructor, initializes all elements with 0.

Public Methods

Name

Description

float_2::get_x Method

float_2::get_xy Method

float_2::get_y Method

float_2::get_yx Method

float_2::ref_g Method

float_2::ref_r Method

float_2::ref_x Method

float_2::ref_y Method

float_2::set_x Method

float_2::set_xy Method

float_2::set_y Method

float_2::set_yx Method

Public Operators

Name

Description

float_2::operator- Operator

float_2::operator-- Operator

float_2::operator*= Operator

float_2::operator/= Operator

float_2::operator++ Operator

float_2::operator+= Operator

float_2::operator= Operator

float_2::operator-= Operator

Public Constants

Name

Description

float_2::size Constant

Public Data Members

Name

Description

float_2::g Data Member

float_2::gr Data Member

float_2::r Data Member

float_2::rg Data Member

float_2::x Data Member

float_2::xy Data Member

float_2::y Data Member

float_2::yx Data Member

Inheritance Hierarchy

float_2

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace