dtos

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Overview

Package dtos provides functions for converting double-precision (dprec) types into single-precision (sprec) ones.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mat3

func Mat3(src dprec.Mat3) sprec.Mat3

Mat3 converts the specified double-precision Mat3 into a single-precision Mat3.

func Mat4

func Mat4(src dprec.Mat4) sprec.Mat4

Mat4 converts the specified double-precision Mat4 into a single-precision Mat4.

func Quat

func Quat(src dprec.Quat) sprec.Quat

Quat converts the specified double-precision Quat into a single-precision Quat.

func Vec2

func Vec2(src dprec.Vec2) sprec.Vec2

Vec2 converts the specified double-precision Vec2 into a single-precision Vec2.

func Vec3

func Vec3(src dprec.Vec3) sprec.Vec3

Vec3 converts the specified double-precision Vec3 into a single-precision Vec3.

func Vec4

func Vec4(src dprec.Vec4) sprec.Vec4

Vec4 converts the specified double-precision Vec4 into a single-precision Vec4.

Types

This section is empty.

Jump to

Keyboard shortcuts

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