Skip to content

Commit

Permalink
add zVEC3 class and fix effect position info
Browse files Browse the repository at this point in the history
  • Loading branch information
Auronen committed Jan 18, 2024
1 parent 4e8168f commit 70f10f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ class C_Color
};
```

## zVEC3
Represents 3D position in the world (float version for internal functions)
```dae
class zVEC3
{
var float X; // X coordinate
var float Y; // Y coordinate
var float Z; // Z coordinate
};
```

## C_Position
Represents 3D position in the world
```dae
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func void Wld_PlayEffectAt( var string effect,
```

- `effect` - effect name
- `coord` - world coordinates (`C_Position`) to play the effect at
- `coord` - world coordinates (`zVEC3`) to play the effect at
- `level` - effect level
- `damage` - damage amount
- `damage_type` - damage type
Expand Down

0 comments on commit 70f10f7

Please sign in to comment.