Spelling mistakes
This commit is contained in:
parent
c5afb3b941
commit
a661bc65b2
1 changed files with 3 additions and 3 deletions
|
@ -154,11 +154,11 @@ func DrawCylinderEx(startPos Vector3, endPos Vector3, startRadius float32, endRa
|
||||||
cendRadius := (C.float)(endRadius)
|
cendRadius := (C.float)(endRadius)
|
||||||
csides := (C.int)(sides)
|
csides := (C.int)(sides)
|
||||||
ccolor := colorCptr(col)
|
ccolor := colorCptr(col)
|
||||||
C.DrawCylinderEx(*cposition, cradiusTop, cradiusBottom, cheight, cslices, *ccolor)
|
C.DrawCylinderEx(*cstartPos, *cendPos, cstartRadius, cendRadius, csides, *ccolor)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DrawCylinderWires - Draw a cylinder/cone wires
|
// DrawCylinderWires - Draw a cylinder/cone wires
|
||||||
func DrawCylinderWires(cstartPos Vector3, cendPos Vector3, cstartRadius float32, cendRadius float32, csides int32, col color.RGBA) {
|
func DrawCylinderWires(position Vector3, radiusTop float32, radiusBottom float32, height float32, slices int32, col color.RGBA) {
|
||||||
cposition := position.cptr()
|
cposition := position.cptr()
|
||||||
cradiusTop := (C.float)(radiusTop)
|
cradiusTop := (C.float)(radiusTop)
|
||||||
cradiusBottom := (C.float)(radiusBottom)
|
cradiusBottom := (C.float)(radiusBottom)
|
||||||
|
@ -175,7 +175,7 @@ func DrawCylinderWiresEx(startPos Vector3, endPos Vector3, startRadius float32,
|
||||||
cendRadius := (C.float)(endRadius)
|
cendRadius := (C.float)(endRadius)
|
||||||
csides := (C.int)(sides)
|
csides := (C.int)(sides)
|
||||||
ccolor := colorCptr(col)
|
ccolor := colorCptr(col)
|
||||||
C.DrawCylinderWiresEx(*cposition, cradiusTop, cradiusBottom, cheight, cslices, *ccolor)
|
C.DrawCylinderWiresEx(*cstartPos, *cendPos, cstartRadius, cendRadius, csides, *ccolor)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DrawCapsule - Draw a capsule with the center of its sphere caps at startPos and endPos
|
// DrawCapsule - Draw a capsule with the center of its sphere caps at startPos and endPos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue