Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Light source set
Function Name
SPR_3SetLight
No
5

  format  void SPR_3SetLight (Uint16 moveKind, MthXyz * lightAngle)
 Input  moveKind: Type of movement
:  b0: 0 = relative movement
  1 ​​= Absolute move
  b1: 0 = Rotation amount is angle
  1 ​​= Rotation amount is unit vector
:  lightAngle: When the rotational movement amount of the parallel light source is an angle, the specified range of the movement amount is
 This is . If a vector is specified, it is converted to an angle.
  FIXED (-180.0) ≦ rotational movement ≦ FIXED (180.0)
  The rotation operation is performed in the order of X → Y → Z.
 Output  None
 Function value  None
 Function  Sets the light source angle. 

  Title  
Function specifications
  Function  
Set of viewpoints
Function Name
SPR_3SetView
No
6

  format  voidSPR_3SetView (Uint16 moveKind, MthXyz * viewPoint,
(:  MthXyz * viewAngle, Uint16 angleSeq, MthXyz * viewCoordPoint)
 Input  moveKind: Type of movement
:  b0: 0 = relative movement
  1 ​​= Absolute move
  b1: 0 = Rotation amount is angle
  1 ​​= rotational movement vector
  viewPoin: Viewpoint position or translation amount.
:  If the rotation position of the viewpoint in the world coordinate system is 0, it is ignored.
 view  viewAngle: When the rotational movement amount of the viewpoint is an angle, the specified range of the movement amount is as follows:
  If a vector is specified, it is converted to an angle.
  FIXED (-180.0) ≦ rotational movement ≦ FIXED (180.0)
  If 0, it is ignored.
  angleSeq: Rotating viewpoint
 View : Viewpoint position or translation amount in the view coordinate system.
  If 0, it is ignored.
:  The initial value is (0,0,0).
 Output  None
 Function value  None
 Function  Moves the viewpoint position within the world coordinate system and rotates around that position.
  If viewCoordPoint is specified, the viewpoint position is moved from the origin to the specified position in the viewpoint coordinate system.
 . 


Return to previous page Return to menu Go to next page