Mod Tool/Scripting: Difference between revisions

m
extra anchors: rot -> mat; mat -> rot
(xsi scripting is getting to much)
 
m (extra anchors: rot -> mat; mat -> rot)
Line 1: Line 1:
   
   




Line 75: Line 74:
  sinn = sin(XSIMath.DegreesToRadians(n))
  sinn = sin(XSIMath.DegreesToRadians(n))
  end function
  end function
   
  {{Anchor|convert_XYZ_rotation_to_matrix}}
  ' #########################################################################################
  ' #########################################################################################
  ' convert XYZ rotation to matrix
  ' convert XYZ rotation to matrix
 
  logmessage "input"
  logmessage "input"
  x = 60 : logmessage x
  x = 60 : logmessage x
Line 100: Line 99:
  next
  next
  logmessage "##################"
  logmessage "##################"
   
  {{Anchor|convert_matrix_to_XYZ_rotation}}
  ' #########################################################################################
  ' #########################################################################################
  ' convert matrix to XYZ rotation
  ' convert matrix to XYZ rotation
8,452

edits