LocalDirectedBallShape

LocalDirectedBallShape

Shape of a euclidean local ball Variation using a directed signed distance function. Be careful: it will probably require creeping, otherwise the light ray will jump from the current cell to infinity.

Constructor

new LocalDirectedBallShape(location, radius)

Source:

Construction

Parameters:
Name Type Description
location Isometry | Point

Either an isometry, or a point representing the center of the ball

radius number

the radius od the ball

Classes

LocalDirectedBallShape

Members

center :Point

Source:

Center of the ball

Type:

hasUVMap

Source:

The UV coordinates corresponds to the spherical coordinates on the sphere... Not sure if that is the smartest choice

isGlobal :boolean

Source:

Says whether the shape is global. True if global, false otherwise.

Type:
  • boolean

isLocalBallShape :boolean

Source:

Says that the object inherits from Ball

Type:
  • boolean