APEX Framework: nvidia::apex::Vec2T< T > Struct Template Reference

NVIDIA APEX

nvidia::apex::Vec2T< T > Struct Template Reference

A trivial templatized math vector type for pairs. More...

#include <Curve.h>

List of all members.

Public Member Functions

 Vec2T (T _x=T(), T _y=T())
 Constructor that takes 0, 1, or 2 parameters to initialize the pair.
T & operator[] (uint32_t ndx)
 Overloading the subscript operator to access the members of the pair.

Public Attributes

x
 The first element in the pair.
y
 The second element in the pair.

Detailed Description

template<typename T>
struct nvidia::apex::Vec2T< T >

A trivial templatized math vector type for pairs.


The documentation for this struct was generated from the following file:

Generated on Fri Dec 15 2017 13:58:38

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.