circle

package
v0.0.0-...-4f9d58e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PI = 3.14159265358979323846
)

Variables

This section is empty.

Functions

func Run1

func Run1()

圆形

func Run2

func Run2()

圆球

原理:https://www.cnblogs.com/8335IT/p/16290888.html 球面上的一个点P,与球心的连线L,L与Y轴正向的夹角为 α,L投影到 XOZ平面上L1,L1与X正向的夹角为 β,球面半径为 R 于是

y = R * cosα;
x = R * sinα * cosβ;
z = R * sinα * sinβ;

func Run3

func Run3()

球面贴图

Types

This section is empty.

Jump to

Keyboard shortcuts

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