LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
Public Attributes | List of all members
SR_vector2i Union Reference

C-compatible 2d integer vector representation. More...

#include <types.h>

Public Attributes

int64_t p [2]
 Array of two integer values to represent a vector or point in 2d space. More...
 
int64_t x
 First value in the 2d vector. More...
 
int64_t y
 Second value in the 2d vector. More...
 

Detailed Description

C-compatible 2d integer vector representation.

Copyright (C) 2025 Leia, Inc.

Member Data Documentation

◆ p

int64_t SR_vector2i::p[2]

Array of two integer values to represent a vector or point in 2d space.

◆ x

int64_t SR_vector2i::x

First value in the 2d vector.

◆ y

int64_t SR_vector2i::y

Second value in the 2d vector.


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