r2d_rvec2 Struct Reference

Vector struct. More...

#include <r2d.h>

Public Attributes

r2d_real x
 
r2d_real y
 
struct {
   r2d_real   x
 
   r2d_real   y
 
}; 
 
r2d_real xy [2]
 

Detailed Description

Vector struct.

A 2-vector.

Member Data Documentation

◆ @1

struct { ... }

◆ x

r2d_real r2d_rvec2::x

\(x\)-component.

◆ xy

r2d_real r2d_rvec2::xy[2]

Index-based access to components.

◆ y

r2d_real r2d_rvec2::y

\(y\)-component.


The documentation for this struct was generated from the following file:
  • /home/wonton/wonton/wonton/intersect/r3d/deprecated/r2d.h