bvec3

package
v0.0.0-...-ae8aae0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Pacakge bvec3 provides GPU operations on three-component boolean vectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(a XYZ) gpu.Bool

func Any

func Any(a XYZ) gpu.Bool

func Mix

func Mix(a, b gpu.Vec3, t XYZ) gpu.Vec3

Types

type XYZ

type XYZ gpu.Vec3b

XYZ is a three-component vector of booleans on the GPU.

func And

func And(a, b XYZ) XYZ

func Eq

func Eq(a, b XYZ) XYZ

func Neq

func Neq(a, b XYZ) XYZ

func New

func New[X, Y, Z gpu.AnyBool](x X, y Y, z Z) XYZ

New creates a new [XY] value from three booleans.

func Not

func Not(a XYZ) XYZ

func Or

func Or(a, b XYZ) XYZ

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL