Constructor
new HalfSpaceShape(isom)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
isom |
Isometry | the location of the half space The half space is the image by isom of the half space {z < 0} The UV directions are the images by isom of e_x and e_y |
Classes
Members
isGlobal :boolean
Says whether the shape is global. True if global, false otherwise.
Type:
- boolean
normal :Vector
The coordinates of the normal vector to the half space
Type:
normal
Compute the normal vector to the half space, so that it can be passed to the shader. The normal vector consists of the underlying point and the direction.
uDir :Vector
U-direction (for UV coordinates)
Type:
vDir :Vector
V-direction (for UV coordinates)