Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
build_sphere(3) 		  Arcan Lua API 		 build_sphere(3)

NAME
     build_sphere - Generate a 3D sphere or hemisphere model

SYNOPSIS
     vid
     build_sphere( float:radius, uint:div_long, uint:div_lat )
     build_sphere( float:radius, uint:div_long, uint:div_lat, uint:nmaps=1 )
     build_sphere(   float:radius,  uint:div_long,  uint:div_lat,  uint:nmaps=1,
     bool:hemi=false )

DESCRIPTION
     This builds a mesh and binds to a new finalised 3d model. The  typical  use
     is  for  debug  geometry and skydomes. The mesh values will range from +ra-
     dius..radius along the longitude and latitude or +radius..0 along the  lon-
     gitude if the hemi  argument is set to true.

SEE ALSO:
     build_3dplane(3) build_pointcloud(3) build_3dbox(3)

3d				   August 2026			 build_sphere(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=build_sphere&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help