User Tools

Site Tools


preview:api:vec2i

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
preview:api:vec2i [2020/05/22 12:13] – external edit 127.0.0.1preview:api:vec2i [2023/12/12 12:16] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 **Category**: Data structure **Category**: Data structure
 +
  
  
Line 9: Line 10:
  
 ==== add ==== ==== add ====
-''void **vec2i.add**(//this//, //x//, //y//)''+ 
 +''void **vec2i.add**(//object//, //x//, //y//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  | +| //''object''// | ''vec2i'' |  | 
-| //''x''// | ''integer'' |  | +| //''x''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  | 
-| //''y''// | ''integer'' |  |+| //''y''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  |
  
 ---- ----
  
 ==== dot ==== ==== dot ====
-''integer **vec2i.dot**(//this//, //v//)''+ 
 +''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]] **vec2i.dot**(//object//, //vector//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  | +| //''object''// | ''vec2i'' |  | 
-| //''v''// | ''[[preview:api:vec2i|vec2i]]'' |  |+| //''vector''// | ''[[preview:api:vec2i|vec2i]]'' |  | 
 + 
 +---- 
 + 
 +==== crossZ ==== 
 + 
 +''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]] **vec2i.crossZ**(//object//, //vector//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''vec2i'' |  | 
 +| //''vector''// | ''[[preview:api:vec2i|vec2i]]'' |  | 
 + 
 +---- 
 + 
 +==== cross ==== 
 + 
 +''[[preview:api:vec3i|vec3i]] **vec2i.cross**(//object//, //vector//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''vec2i'' |  | 
 +| //''vector''// | ''[[preview:api:vec2i|vec2i]]'' |  |
  
 ---- ----
  
 ==== getLength2 ==== ==== getLength2 ====
-''integer **vec2i.getLength2**(//this//)''+ 
 +''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]] **vec2i.getLength2**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  |+| //''object''// | ''vec2i'' |  | 
 + 
 +---- 
 + 
 +==== set ==== 
 + 
 +''void **vec2i.set**(//object//, //x//, //y//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''vec2i'' |  | 
 +| //''x''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  | 
 +| //''y''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  |
  
 ---- ----
  
 ==== normalize ==== ==== normalize ====
-''void **vec2i.normalize**(//this//)''+ 
 +''void **vec2i.normalize**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  |+| //''object''// | ''vec2i'' |  | 
 + 
 +---- 
 + 
 +==== normalized ==== 
 + 
 +''[[preview:api:vec2i|vec2i]] **vec2i.normalized**(//object//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''vec2i'' |  |
  
 ---- ----
  
 ==== distance2 ==== ==== distance2 ====
-''integer **vec2i.distance2**(//this//, //v//)''+ 
 +''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]] **vec2i.distance2**(//object//, //vector//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  | +| //''object''// | ''vec2i'' |  | 
-| //''v''// | ''[[preview:api:vec2i|vec2i]]'' |  |+| //''vector''// | ''[[preview:api:vec2i|vec2i]]'' |  |
  
 ---- ----
  
 ==== isZero ==== ==== isZero ====
-''boolean **vec2i.isZero**(//this//)''+ 
 +''[[preview:data-types#boolean|boolean]] **vec2i.isZero**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  |+| //''object''// | ''vec2i'' |  |
  
 ---- ----
  
 ==== isNearZero ==== ==== isNearZero ====
-''boolean **vec2i.isNearZero**(//this//)''+ 
 +''[[preview:data-types#boolean|boolean]] **vec2i.isNearZero**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  |+| //''object''// | ''vec2i'' |  |
  
 ---- ----
  
 ==== rotate ==== ==== rotate ====
-''void **vec2i.rotate**(//this//, //angle//)''+ 
 +''void **vec2i.rotate**(//object//, //angle//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''this''// | ''vec2i'' |  | +| //''object''// | ''vec2i'' |  | 
-| //''angle''// | ''integer'' |  |+| //''angle''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  | 
 + 
 +---- 
 + 
 +==== rotated ==== 
 + 
 +''[[preview:api:vec2i|vec2i]] **vec2i.rotated**(//object//, //angle//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''vec2i'' |  | 
 +| //''angle''// | ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' |  | 
  
preview/api/vec2i.1590164022.txt.gz · Last modified: 2020/05/22 12:13 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki