Skip to Content
VectorLib

TrVector2

vectorlib::TrVector2 — fields, methods, parameters and return types.


pub struct TrVector2

A sensor offset (tr_vector2): x along the way the sensor faces, y across it.

View source

Fields

Prop

Type

Methods

Prop

Type

new

pub const fn new(x: f32, y: f32) -> Self

A vector.

Parameters

Prop

Type

Returns

Self

View source

On this page